Fix command
This commit is contained in:
Родитель
134556d419
Коммит
e81199f9af
|
@ -141,9 +141,9 @@ class Controller
|
|||
/* XXX this needs to go into the config, specifically for composer maybe even separate class. */
|
||||
$url = "https://getcomposer.org/installer";
|
||||
/* XXX remove the explicit version option when symfony demo is fixed. */
|
||||
$tool = $this->conf->getToolsDir() . DIRECTORY_SEPARATOR . "composer-setup.php --version=1.6.5";
|
||||
$tool = $this->conf->getToolsDir() . DIRECTORY_SEPARATOR . "composer-setup.php";
|
||||
$pw->fetch($url, $tool, $force);
|
||||
$php->exec("$tool --install-dir=" . $this->conf->getToolsDir());
|
||||
$php->exec("$tool --install-dir=" . $this->conf->getToolsDir() . " --version=1.6.5");
|
||||
unlink($tool);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче