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

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));