Merge pull request #987 from lewactwo/patch-1

use bin/php when composer is found
This commit is contained in:
Anton Medvedev 2017-02-18 22:20:27 +07:00 committed by GitHub
commit d4488dbf3c

View File

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