Skip to content

Commit

Permalink
fix: update uname_os from shlib in install.sh (#1944)
Browse files Browse the repository at this point in the history
uname_os function in install.sh behaved incorrectly in certain
Windows environment.
This issue was fixed in client9/shlib#23
  • Loading branch information
WKBae authored and ldez committed Jan 1, 2022
1 parent 5d9896a commit c933373
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install.sh
Expand Up @@ -194,9 +194,10 @@ log_crit() {
uname_os() {
os=$(uname -s | tr '[:upper:]' '[:lower:]')
case "$os" in
cygwin_nt*) os="windows" ;;
msys*) os="windows" ;;
mingw*) os="windows" ;;
msys_nt*) os="windows" ;;
cygwin*) os="windows" ;;
win*) os="windows" ;;
esac
echo "$os"
}
Expand Down

0 comments on commit c933373

Please sign in to comment.