Skip to content

A free, self-hostable news aggregator…

Fix makefile when no local php (#3010)

Alexis Degrugillierf05408a2e5ee
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 \