Files
xen/tools/check/check_python
T
Keir Fraser b7d7bde935 Make tools/check scripts cross-friendly
This patch introduces tools/check/funcs.sh with some
cross-friendly abstractions, then modifies the check_*
scripts to use them.

Signed-off-by: Aron Griffis <aron@hp.com>
2008-01-22 09:44:17 +00:00

10 lines
174 B
Bash
Executable File

#!/bin/sh
# CHECK-BUILD CHECK-INSTALL
. funcs.sh
python -c '
import sys
sys.exit(sys.version_info[0] < 2 or sys.version_info[1] < 2)
' || fail "need python version >= 2.2"