diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2006-02-18 13:01:18 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-18 23:16:09 -0800 |
commit | abb7c7b31c0896bd838bbb6437b310db5a42227a (patch) | |
tree | ca184974f14d8cd61e1a7c25173edcae17c9e7cb /t/t0000-basic.sh | |
parent | 289c4b36e336af5266b86d924ef0aa828e8e4841 (diff) | |
download | git-abb7c7b31c0896bd838bbb6437b310db5a42227a.tar.gz |
Optionally work without python
In some setups (notably server setups) you do not need that dependency.
Gracefully handle the absence of python when NO_PYTHON is defined.
Signed-off-by: Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t0000-basic.sh')
-rwxr-xr-x | t/t0000-basic.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh index c339a366f4..6729a18266 100755 --- a/t/t0000-basic.sh +++ b/t/t0000-basic.sh @@ -42,7 +42,7 @@ fi . ./test-lib.sh -"$PYTHON" -c 'import subprocess' || { +test "$no_python" || "$PYTHON" -c 'import subprocess' || { echo >&2 'Your python seem to lack "subprocess" module. Please check INSTALL document.' exit 1 |