diff --git a/nicparseMacos.bash b/nicparseMacos.bash index c1df142..7641fae 100644 --- a/nicparseMacos.bash +++ b/nicparseMacos.bash @@ -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} }