1
0
Fork 0

Fix issue #3229, refs #3184

pull/4541/merge
Jordi Boggiano 2015-10-27 15:12:18 +00:00
parent 90a90e22de
commit ebe0c8d79c
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ class LibraryInstaller implements InstallerInterface
$proxyCode = <<<PROXY
#!/usr/bin/env sh
dir=$(d=$(dirname "$0"); cd "\$d"; cd $binDir && pwd)
dir=$(d=\${0%[/\\\\]*}; cd "\$d"; cd $binDir && pwd)
# See if we are running in Cygwin by checking for cygpath program
if command -v 'cygpath' >/dev/null 2>&1; then