Comment changes (just for re-run Travis tests)
parent
e20668b321
commit
fb26187449
|
@ -311,12 +311,12 @@ class LibraryInstaller implements InstallerInterface
|
|||
|
||||
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
|
||||
# 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
|
||||
# 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
|
||||
dir=$(cygpath -m \$dir);
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue