buildServer: fix for Windows10/cygwin/bash being unable to launch recursively.

v0.27.3
Robin Mills 10 years ago
parent 1c5b1476d0
commit 8369445c6f

@ -174,18 +174,12 @@ case "$build" in
/usr/local/bin/exiv2 -v -V /usr/local/bin/exiv2 -v -V
result=$? result=$?
else else
if [ "$x64" == true ]; then export RECURSIVE=1
export RECURSIVE=1 # don't recursively invoke bash as this dies on Windows 10.
# /cygdrive/c/cygwin64/bin/bash.exe -c "cd $PWD ; ./$0" # simply call the script again in the same bash session
cd "$PWD" ; ./$0 # /cygdrive/c/cygwin64/bin/bash.exe -c "cd $PWD ; ./$0"
result=$? ./$0
fi result=$?
if [ "$Win32" == true ]; then
export RECURSIVE=1
# /cygdrive/c/cygwin/bin/bash.exe -c "cd $PWD ; ./$0"
cd "$PWD" ; ./$0
result=$?
fi
fi fi
;; ;;

Loading…
Cancel
Save