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

This commit is contained in:
Michael Ridgway 2011-06-08 14:25:56 -04:00
parent 17cd08dc6c
commit 19a8ece323

View File

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