Fix for installer error on msys/cygwin

This commit is contained in:
deajan 2017-02-08 14:53:18 +01:00
parent f0ed2098be
commit 5ca7b7e6a2
1 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@
## On CYGWIN / MSYS, ACL and extended attributes aren't supported
# osync test suite 2017020803
# osync test suite 2017020804
# 4 tests:
# quicklocal
@ -217,7 +217,9 @@ function oneTimeSetUp () {
fi
#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=""
IMMUTABLE_ON_CMD="chflags schg"
IMMUTABLE_OFF_CMD="chflags noschg"