Still adding (very) initial MacOSX support

This commit is contained in:
Orsiris de Jong 2013-11-13 17:16:51 +01:00
parent 65c587899a
commit d3742a59e1
1 changed files with 2 additions and 2 deletions

View File

@ -259,10 +259,10 @@ function CheckEnvironment
function GetOperatingSystem function GetOperatingSystem
{ {
LOCAL_OS_VAR=$(uname -spio > /dev/null 2>&1) LOCAL_OS_VAR=$(uname -spio 2>&1)
if [ $? != 0 ] if [ $? != 0 ]
then then
LOCAL_OS_VAR=$(uname -v) LOCAL_OS_VAR=$(uname -v 2>&1)
fi fi
if [ "$REMOTE_SYNC" == "yes" ] if [ "$REMOTE_SYNC" == "yes" ]
then then