Fix for installer error on msys/cygwin
This commit is contained in:
parent
f0ed2098be
commit
5ca7b7e6a2
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
## On CYGWIN / MSYS, ACL and extended attributes aren't supported
|
## On CYGWIN / MSYS, ACL and extended attributes aren't supported
|
||||||
|
|
||||||
# osync test suite 2017020803
|
# osync test suite 2017020804
|
||||||
|
|
||||||
# 4 tests:
|
# 4 tests:
|
||||||
# quicklocal
|
# quicklocal
|
||||||
|
@ -217,7 +217,9 @@ function oneTimeSetUp () {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#TODO: Assuming that macos has the same syntax than bsd here
|
#TODO: Assuming that macos has the same syntax than bsd here
|
||||||
if [ "$LOCAL_OS" == "BSD" ] || [ "$LOCAL_OS" == "MacOSX" ]; then
|
if [ "$LOCAL_OS" == "msys" ] || [ "$LOCAL_OS" == "Cygwin" ] then
|
||||||
|
SUDO_CMD=""
|
||||||
|
elif [ "$LOCAL_OS" == "BSD" ] || [ "$LOCAL_OS" == "MacOSX" ]; then
|
||||||
SUDO_CMD=""
|
SUDO_CMD=""
|
||||||
IMMUTABLE_ON_CMD="chflags schg"
|
IMMUTABLE_ON_CMD="chflags schg"
|
||||||
IMMUTABLE_OFF_CMD="chflags noschg"
|
IMMUTABLE_OFF_CMD="chflags noschg"
|
||||||
|
|
Loading…
Reference in New Issue