Fixed usage of composer.phar, when used as env/composer (close #615 #616)

This commit is contained in:
arvatis 2016-04-11 11:18:16 +02:00 committed by Oanh Nguyen
parent 889c35abac
commit bba421fbfd

View File

@ -53,7 +53,7 @@ env('bin/composer', function () {
if (empty($composer)) {
run("cd {{release_path}} && curl -sS https://getcomposer.org/installer | php");
$composer = '{{bin/php}} composer.phar';
$composer = '{{bin/php}} {{release_path}}/composer.phar';
}
return $composer;