File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ appstore_build_directory=$(CURDIR)/build/artifacts/appstore
4747appstore_package_name =$(appstore_build_directory ) /$(app_name )
4848npm =$(shell which npm 2> /dev/null)
4949composer =$(shell which composer 2> /dev/null)
50+ php =$(shell which php-7.4 2> /dev/null) -dallow_url_fopen=On
5051
5152all : build
5253
@@ -72,10 +73,10 @@ composer:
7273ifeq (, $(composer ) )
7374 @echo "No composer command available, downloading a copy from the web"
7475 mkdir -p $(build_tools_directory)
75- curl -sS https://getcomposer.org/installer | php-7.4
76+ curl -sS https://getcomposer.org/installer | $( php)
7677 mv composer.phar $(build_tools_directory)
77- php-7.4 $(build_tools_directory)/composer.phar install --prefer-dist
78- php-7.4 $(build_tools_directory)/composer.phar update --prefer-dist
78+ $( php) $(build_tools_directory)/composer.phar install --prefer-dist
79+ $( php) $(build_tools_directory)/composer.phar update --prefer-dist
7980else
8081 composer install --prefer-dist
8182 composer update --prefer-dist
You can’t perform that action at this time.
0 commit comments