mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Make python check scripts use of $(PYTHON) make variable.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
This commit is contained in:
1 parent
75577f42e0
commit
df65440f41
4 files changed
+19
-5
No files matched your search
@@ -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"
|
||||