Преглед на файлове

Fixed vendors.php not working if directory path has space in it

Michael Ridgway преди 14 години
родител
ревизия
19a8ece323
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      vendors.php

+ 1 - 1
vendors.php

@@ -40,7 +40,7 @@ foreach ($deps as $dep) {
 
     $installDir = $vendorDir.'/'.$name;
     if (!is_dir($installDir)) {
-        system(sprintf('git clone %s %s', $url, $installDir));
+        system(sprintf('git clone %s "%s"', $url, $installDir));
     }
 
     system(sprintf('cd %s && git fetch origin && git reset --hard %s', $installDir, $rev));