1
0
Fork 0

Merge pull request #4952 from Jos635/fix-cygwin-quotes

Fix for the unix bin proxy on cygwin if the directory contains spaces
pull/4953/head
Jordi Boggiano 2016-02-24 11:44:07 +00:00
commit 45f6b37615
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ if command -v 'cygpath' >/dev/null 2>&1; then
# 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
fi fi