ia64/xen-unstable

view tools/check/check_python @ 6722:b2f4823b6ff0

Merge (only) xen-ia64-unstable with latest xen-unstable
author djm@kirby.fc.hp.com
date Fri Sep 09 10:30:54 2005 -0600 (2005-09-09)
parents 0a4b76b6b5a0 291e816acbf4
children b35215021b32
line source
1 #!/bin/bash
2 # CHECK-BUILD CHECK-INSTALL
4 function error {
5 echo
6 echo " *** Check for Python version >= 2.2 FAILED"
7 exit 1
8 }
10 python -V 2>&1 | cut -d ' ' -f 2 | grep -q -E '^2.2|^2.3|^2.4' || error