fix: update uname_os from shlib in install.sh (#1944) (#2388)

This commit is contained in:
Kyungmin Bae 2022-01-02 05:05:31 +09:00 committed by GitHub
parent 5d9896a7d8
commit 9d9855c149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
}