From f025a2271da74bd882dc3e9b064703ce1671d473 Mon Sep 17 00:00:00 2001 From: Kamil Piwowarski <9luty1992@gmail.com> Date: Fri, 27 Jan 2017 21:42:18 +0100 Subject: [PATCH] use bin/php when composer is found --- recipe/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/common.php b/recipe/common.php index 3f4657e3..80c4d141 100644 --- a/recipe/common.php +++ b/recipe/common.php @@ -91,7 +91,7 @@ set('bin/git', function () { set('bin/composer', function () { if (commandExist('composer')) { - $composer = run('which composer')->toString(); + $composer = '{{bin/php}} ' . run('which composer')->toString(); } if (empty($composer)) {