From b92a19ce4bdc24a227f4c425f7555d8106554151 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 1 Jun 2012 13:56:05 +0200 Subject: [PATCH] Fix windows bin proxy when there are spaces in the path --- src/Composer/Installer/LibraryInstaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Installer/LibraryInstaller.php b/src/Composer/Installer/LibraryInstaller.php index a7047da69..817f91c22 100644 --- a/src/Composer/Installer/LibraryInstaller.php +++ b/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)