{"thread":{"id":"3396","subject":"[PATCH] Really honour NO_PYTHON","startedAt":"2006-02-19T20:13:48Z","lastAt":"2006-02-19T20:13:48Z","messageCount":1,"participants":["Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"16421","messageId":"Pine.LNX.4.63.0602192111490.20806@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"3396","inReplyTo":null,"subject":"[PATCH] Really honour NO_PYTHON","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-02-19T20:13:48Z","receivedAt":"2006-02-19T20:13:48Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nDo not even test for subprocess (trying to execute python).\n\nSigned-off-by: Johannes E. Schindelin <Johannes.Schindelin@gmx.de>\n\n---\n\n\tIn my setup, gmake output would not say \"/usr/bin/python: not found\",\n\tbut instead \"08;\"... :-)\n\n Makefile |    6 ++++--\n 1 files changed, 4 insertions(+), 2 deletions(-)\n\n9fe05fa9b21ed71ccfde30aa0d87ed031b923d40\ndiff --git a/Makefile b/Makefile\nindex 58291f3..a2cb70c 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -300,8 +300,10 @@ endif\n ifdef WITH_OWN_SUBPROCESS_PY\n \tPYMODULES += compat/subprocess.py\n else\n-\tifneq ($(shell $(PYTHON_PATH) -c 'import subprocess;print\"OK\"' 2>/dev/null),OK)\n-\t\tPYMODULES += compat/subprocess.py\n+\tifeq ($(NO_PYTHON),)\n+\t\tifneq ($(shell $(PYTHON_PATH) -c 'import subprocess;print\"OK\"' 2>/dev/null),OK)\n+\t\t\tPYMODULES += compat/subprocess.py\n+\t\tendif\n \tendif\n endif\n \n-- \n1.2.1.gb7c4-dirty\n"}]}