1
0
Fork 0

Fix bug in handling of special chars in proxy .bat files for binaries, fixes #4990

pull/4993/head
Jordi Boggiano 2016-03-02 14:07:30 +00:00
parent 76450cc2a1
commit 9d95456bb0
1 changed files with 1 additions and 0 deletions

View File

@ -333,6 +333,7 @@ class LibraryInstaller implements InstallerInterface
} }
return "@ECHO OFF\r\n". return "@ECHO OFF\r\n".
"setlocal DISABLEDELAYEDEXPANSION\r\n".
"SET BIN_TARGET=%~dp0/".trim(ProcessExecutor::escape($binPath), '"')."\r\n". "SET BIN_TARGET=%~dp0/".trim(ProcessExecutor::escape($binPath), '"')."\r\n".
"{$caller} \"%BIN_TARGET%\" %*\r\n"; "{$caller} \"%BIN_TARGET%\" %*\r\n";
} }