Fix wildcarded BSD detection

This commit is contained in:
Dylan 2016-05-07 20:27:31 +10:00
parent bf3b1c1e2e
commit 55a907b454

View file

@ -451,7 +451,7 @@ case "$(uname -sm)" in
"Linux"*) os="Linux" ;;
"Darwin"*) os="Mac OS X" ;;
"OpenBSD"*) os="OpenBSD" ;;
*"BSD"*) os="BSD" ;;
"FreeBSD"* | "NetBSD"*) os="BSD" ;;
"CYGWIN"*) os="Windows" ;;
*"iPhone"* | *"iPad"* | *"iPod"*) os="iOS" ;;
*) printf "%s\n" "Unknown OS detected: $(uname)"; exit 1 ;;