From e9522e29dd1e9f73fc6f3b3a5c4c22c00d762dea Mon Sep 17 00:00:00 2001 From: Andrey Savchenko Date: Wed, 3 Jul 2013 17:53:32 +0300 Subject: [PATCH] Removed quotes that escaping generated inside of path in win proxy script Fixes #2040 --- 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 6984ad918..eeeb26450 100644 --- a/src/Composer/Installer/LibraryInstaller.php +++ b/src/Composer/Installer/LibraryInstaller.php @@ -277,7 +277,7 @@ class LibraryInstaller implements InstallerInterface } return "@ECHO OFF\r\n". - "SET BIN_TARGET=%~dp0\\".escapeshellarg(dirname($binPath)).'\\'.basename($binPath)."\r\n". + "SET BIN_TARGET=%~dp0/".trim(escapeshellarg($binPath), '"')."\r\n". "{$caller} \"%BIN_TARGET%\" %*\r\n"; }