summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2a3763e)
raw | patch | inline | side by side (parent: 2a3763e)
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sun, 19 Feb 2006 20:13:48 +0000 (21:13 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 20 Feb 2006 00:55:38 +0000 (16:55 -0800) |
Do not even test for subprocess (trying to execute python).
Signed-off-by: Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 080651e0d9d7b928f82291b6c44d3bb4e18659ef..d5a95c4101015fbc7c4c28b0419b78082f99d37d 100644 (file)
--- a/Makefile
+++ b/Makefile
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