Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit e81199f

Browse files
committed
Fix command
1 parent 134556d commit e81199f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/php/libsdk/SDK/Build/PGO/Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ protected function prepareStandaloneTools(PackageWorkman $pw, bool $force = fals
141141
/* XXX this needs to go into the config, specifically for composer maybe even separate class. */
142142
$url = "https://getcomposer.org/installer";
143143
/* XXX remove the explicit version option when symfony demo is fixed. */
144-
$tool = $this->conf->getToolsDir() . DIRECTORY_SEPARATOR . "composer-setup.php --version=1.6.5";
144+
$tool = $this->conf->getToolsDir() . DIRECTORY_SEPARATOR . "composer-setup.php";
145145
$pw->fetch($url, $tool, $force);
146-
$php->exec("$tool --install-dir=" . $this->conf->getToolsDir());
146+
$php->exec("$tool --install-dir=" . $this->conf->getToolsDir() . " --version=1.6.5");
147147
unlink($tool);
148148
}
149149
}

0 commit comments

Comments
 (0)