1
0
mirror of https://github.com/moshix/mvs.git synced 2026-01-13 15:17:35 +00:00

Also check for FreeBSD and Windows

This commit is contained in:
moshix 2023-04-17 04:40:20 -05:00 committed by GitHub
parent 4cca959300
commit 33ba649930
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,10 +39,13 @@ unameOut="$(uname -s)"
case "${unameOut}" in
Linux*) ostype=Linux;;
Darwin*) ostype=Mac;;
CYGWIN*) ostype=Cygwin;;
MINGW*) ostype=MinGw;;
*) ostype="UNKNOWN:${unameOut}"
esac
case "$OSTYPE" in
freebsd*) ostype=FreeBSD;;
win32*) ostype=Windows;;
*) ostype="UNKNOWN"
esac
#echo ${ostype}
}