mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
14 lines
226 B
Bash
Executable File
14 lines
226 B
Bash
Executable File
#!/bin/sh
|
|
# CHECK-BUILD CHECK-INSTALL
|
|
|
|
. ./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)
|
|
' || fail "need python version >= 2.2"
|