summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f06d3f49b..d5bd9ca7d 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,9 @@ ifndef TAG
endif
PORT ?= 8080
-PHP := $(shell sh -c 'which php')
ifdef NO_DOCKER
- PHP = php
+ PHP = $(shell which php)
else
PHP = docker run \
--rm \