mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
14 lines
252 B
Bash
Executable File
14 lines
252 B
Bash
Executable File
#!/bin/sh
|
|
# CHECK-BUILD CHECK-INSTALL
|
|
|
|
. ./funcs.sh
|
|
|
|
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"
|