summaryrefslogtreecommitdiff
path: root/wrappers/php/Makefile
diff options
context:
space:
mode:
authorStevenWdV <stevenwdv@gmail.com>2022-02-16 16:52:51 +0100
committerStevenWdV <stevenwdv@gmail.com>2022-02-16 16:52:51 +0100
commit32bd89a77c8aa2fed235291171791def04724b8d (patch)
treea95ed7dabb1282ddcbc99f6c4c75e1b7e4b9fc32 /wrappers/php/Makefile
parent7798aac9279bb03baaa576059f2c19b283cd39bb (diff)
Fix small Makefile errors & Python wrapper return value
Diffstat (limited to 'wrappers/php/Makefile')
-rw-r--r--wrappers/php/Makefile2
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)