From 0847d3060366d2c9a1add465821672d169339caf Mon Sep 17 00:00:00 2001 From: Daniel Schaal Date: Mon, 28 Aug 2017 20:54:47 +0200 Subject: Fix check for path to composer, Fixes #213 (#214) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8649d4246..36dc06584 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ appstore_package_name:=$(appstore_artifact_directory)/$(app_name) npm:=$(shell which npm 2> /dev/null) composer:=$(shell which composer 2> /dev/null) ifeq (,$(composer)) - composer=php $(build_tools_directory)/composer.phar + composer:=php $(build_tools_directory)/composer.phar endif # code signing @@ -85,7 +85,7 @@ build: # a copy is fetched from the web .PHONY: composer composer: -ifeq (, $(composer)) +ifeq (, $(shell which composer 2> /dev/null)) @echo "No composer command available, downloading a copy from the web" mkdir -p $(build_tools_directory) curl -sS https://getcomposer.org/installer | php -- cgit v1.2.3