mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
[TOOLS] A couple of check-script cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
e93c545c97
commit
23496e5afb
2 files changed
+13
-7
No files matched your search
@@ -3,7 +3,10 @@
|
||||
|
||||
RC=0
|
||||
|
||||
python -V 2>&1 | cut -d ' ' -f 2 | grep -q '^2.[2345]' || RC=1
|
||||
python -c '
|
||||
import sys
|
||||
sys.exit(sys.version_info[0] < 2 or sys.version_info[1] < 2)
|
||||
' || RC=1
|
||||
|
||||
if test ${RC} -ne 0; then
|
||||
echo
|
||||
|
||||