From a348ab702a84983c258e4961a58b1b9502f428c8 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 19 Feb 2006 21:13:48 +0100 Subject: [PATCH] Really honour NO_PYTHON Do not even test for subprocess (trying to execute python). Signed-off-by: Johannes E. Schindelin Signed-off-by: Junio C Hamano --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 080651e0..d5a95c41 100644 --- a/Makefile +++ b/Makefile @@ -291,8 +291,10 @@ endif ifdef WITH_OWN_SUBPROCESS_PY PYMODULES += compat/subprocess.py else - ifneq ($(shell $(PYTHON_PATH) -c 'import subprocess;print"OK"' 2>/dev/null),OK) - PYMODULES += compat/subprocess.py + ifeq ($(NO_PYTHON),) + ifneq ($(shell $(PYTHON_PATH) -c 'import subprocess;print"OK"' 2>/dev/null),OK) + PYMODULES += compat/subprocess.py + endif endif endif -- 2.11.0