Skip to content

Commit

Permalink
Merge pull request composer#1088 from mheleniak/bat_file_fix
Browse files Browse the repository at this point in the history
fixed generated windows proxy file for *.exe
  • Loading branch information
Seldaek committed Sep 10, 2012
2 parents 9798361 + 4e63800 commit a589a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Composer/Installer/LibraryInstaller.php
Expand Up @@ -250,7 +250,7 @@ protected function initializeBinDir()
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');
Expand Down

0 comments on commit a589a47

Please sign in to comment.