mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
From: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Keir Fraser <keir@xensource.com>
14 lines
209 B
Bash
Executable File
14 lines
209 B
Bash
Executable File
#!/bin/sh
|
|
# CHECK-BUILD CHECK-INSTALL
|
|
|
|
RC=0
|
|
|
|
python -V 2>&1 | cut -d ' ' -f 2 | grep -q '^2.[2345]' || RC=1
|
|
|
|
if test ${RC} -ne 0; then
|
|
echo
|
|
echo " *** Check for Python version >= 2.2 FAILED"
|
|
fi
|
|
|
|
exit ${RC}
|