1
0
Fork 0

Merge pull request #1088 from mheleniak/bat_file_fix

fixed generated windows proxy file for *.exe
pull/1093/merge
Jordi Boggiano 2012-09-10 07:50:35 -07:00
commit a589a47468
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ class LibraryInstaller implements InstallerInterface
protected function generateWindowsProxyCode($bin, $link)
{
$binPath = $this->filesystem->findShortestPath($link, $bin);
if ('.bat' === substr($bin, -4)) {
if ('.bat' === substr($bin, -4) || '.exe' === substr($bin, -4)) {
$caller = 'call';
} else {
$handle = fopen($bin, 'r');