Browse Source

Fix windows bin proxy when there are spaces in the path

Jordi Boggiano 12 years ago
parent
commit
b92a19ce4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Installer/LibraryInstaller.php

+ 1 - 1
src/Composer/Installer/LibraryInstaller.php

@@ -238,7 +238,7 @@ class LibraryInstaller implements InstallerInterface
             "cd ".escapeshellarg(dirname($binPath))."\r\n".
             "set BIN_TARGET=%CD%\\".basename($binPath)."\r\n".
             "popd\r\n".
-            $caller." %BIN_TARGET% %*\r\n";
+            $caller." \"%BIN_TARGET%\" %*\r\n";
     }
 
     private function generateUnixyProxyCode($bin, $link)