tools/check: We do need a default for ${PYTHON} as called from

install.sh with PYTHON possibly undefined in the environment.

So we make PYTHON=python the sensible default.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2009-07-15 15:33:05 +01:00
1 parent c8d0c0aba3
commit 0afa130b1f
3 files changed
+10

No files matched your search

+4
View File
@@ -3,6 +3,10 @@
. ./funcs.sh
if test -z ${PYTHON}; then
PYTHON=python
fi
${PYTHON} -c '
import sys
sys.exit(sys.version_info[0] < 2 or sys.version_info[1] < 2)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.