Make python check scripts use of $(PYTHON) make variable.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
This commit is contained in:
Keir Fraser committed 2009-07-09 17:05:07 +01:00
1 parent 75577f42e0
commit df65440f41
4 files changed
+19 -5

No files matched your search

+5 -1
View File
@@ -3,7 +3,11 @@
. ./funcs.sh
python -c '
if test -z ${PYTHON}; then
PYTHON=`/usr/bin/env python 2>/dev/null`
fi
${PYTHON} -c '
import sys
sys.exit(sys.version_info[0] < 2 or sys.version_info[1] < 2)
' || fail "need python version >= 2.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.