mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
c8d0c0aba3
commit
0afa130b1f
3 files changed
+10
No files matched your search
@@ -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)
|
||||
|
||||