Skip to content

Commit

Permalink
Use the global PHP_BIN variable for box.phar to build
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Apr 7, 2023
1 parent eeca71b commit 4ce9147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ function download_composer() {
else
echo "Composer was not found. Try to install it ..."
# install composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php --install-dir=/usr/local/bin --filename=composer
$PHP_BIN -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
$PHP_BIN composer-setup.php --install-dir=/usr/local/bin --filename=composer
fi
}

Expand Down

0 comments on commit 4ce9147

Please sign in to comment.