mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Python 2.3 is the minimal version according to the README. Adjust check script. Signed-off-by: Olaf Hering <olaf@aepfle.de> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.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] < 3)
|
|
' || fail "need python version >= 2.3"
|