Преглед изворни кода

Fix unixy proxy under git-bash

Jordi Boggiano пре 13 година
родитељ
комит
3be6511af7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Composer/Installer/LibraryInstaller.php

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

@@ -201,7 +201,7 @@ class LibraryInstaller implements InstallerInterface
 
         return "#!/usr/bin/env sh\n".
             'SRC_DIR=`pwd`'."\n".
-            'cd `dirname \\`readlink -m "$0"\\``'."\n".
+            'cd `dirname "$0"`'."\n".
             'cd '.escapeshellarg(dirname($binPath))."\n".
             'BIN_TARGET=`pwd`/'.basename($binPath)."\n".
             'cd $SRC_DIR'."\n".