diff options
Diffstat (limited to 'wrappers/php/Makefile')
| -rw-r--r-- | wrappers/php/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/php/Makefile b/wrappers/php/Makefile index 758cfe3..89b9759 100644 --- a/wrappers/php/Makefile +++ b/wrappers/php/Makefile @@ -36,7 +36,7 @@ test: install-header install-dev-dependencies composers = composer composer.phar ./composer ./composer.phar # Find first composer from list above, default to 'composer' -find_composer = $(firstword $(foreach bin,$(composers),$(if $(shell command -v $(bin)),$(bin),)) composer) +find_composer = $(firstword $(foreach bin,$(composers),$(if $(shell command -v $(bin) 2>/dev/null),$(bin),)) composer) # Lazy variable: https://blog.jgc.org/2016/07/lazy-gnu-make-variables.html COMPOSER ?= $(eval COMPOSER := $(find_composer))$(COMPOSER) |
