1
0
Fork 0

Comment changes (just for re-run Travis tests)

pull/3184/head
Grzegorz 'Wirone' Korba 2014-09-08 01:09:15 +02:00
parent e20668b321
commit fb26187449
1 changed files with 3 additions and 3 deletions

View File

@ -311,12 +311,12 @@ class LibraryInstaller implements InstallerInterface
dir=$(d=$(dirname "$0"); cd "\$d"; cd $binDir && pwd) dir=$(d=$(dirname "$0"); cd "\$d"; cd $binDir && pwd)
# see if we are running in cygwin by checking for cygpath program # See if we are running in Cygwin by checking for cygpath program
if command -v 'cygpath' >/dev/null 2>&1; then if command -v 'cygpath' >/dev/null 2>&1; then
# cygwin paths start with /cygdrive/ which will break windows PHP, # Cygwin paths start with /cygdrive/ which will break windows PHP,
# so we need to translate the dir path to windows format. However # so we need to translate the dir path to windows format. However
# we could be using cygwin PHP which does not require this, so we # we could be using cygwin PHP which does not require this, so we
# test if the path to PHP starts with /cygdrive/ rather than /usr/bin. # test if the path to PHP starts with /cygdrive/ rather than /usr/bin
if [[ $(which php) == /cygdrive/* ]]; then if [[ $(which php) == /cygdrive/* ]]; then
dir=$(cygpath -m \$dir); dir=$(cygpath -m \$dir);
fi fi