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:
parent
4cca959300
commit
33ba649930
@ -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}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user