Still adding (very) initial MacOSX support
This commit is contained in:
parent
65c587899a
commit
d3742a59e1
4
osync.sh
4
osync.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue