소스 검색

Fix makefile when no local php (#3010)

The makefile did not work when there was no local php.
Alexis Degrugillier 6 년 전
부모
커밋
f05408a2e5
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      Makefile

+ 1 - 2
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 \