1
0
Fork 0

fixed generated windows proxy file for *.exe

pull/1088/head
Mateusz Heleniak 2012-09-08 16:44:11 +02:00
parent 41c13f0c5f
commit 4e638009ab
1 changed files with 1 additions and 1 deletions

View File

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