Skip to content

Commit

Permalink
[ci-script] refs fibercrypto#38 Rename in uname_os msys_nt-10.0 =…
Browse files Browse the repository at this point in the history
…> `windows`
  • Loading branch information
Maykel Arias Torres committed May 24, 2019
1 parent 8e99d55 commit 992eb8a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ci-scripts/install-golangci-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ uname_os() {
os=$(uname -s | tr '[:upper:]' '[:lower:]')
case "$os" in
msys_nt) os="windows" ;;
msys_nt-10.0) os="windows" ;;
esac
echo "$os"
}
Expand All @@ -195,9 +196,6 @@ uname_arch() {
}
uname_os_check() {
os=$(uname_os)
if [ "$os" = "msys_nt-10.0" ]; then
os="windows"
fi
case "$os" in
darwin) return 0 ;;
dragonfly) return 0 ;;
Expand All @@ -210,7 +208,6 @@ uname_os_check() {
plan9) return 0 ;;
solaris) return 0 ;;
windows) return 0 ;;
msys_nt-10.0) return 0 ;;
esac
log_crit "uname_os_check '$(uname -s)' got converted to '$os' which is not a GOOS value. Please file bug at https://github.com/client9/shlib"
return 1
Expand Down

0 comments on commit 992eb8a

Please sign in to comment.