ia64/xen-unstable

view tools/check/check_python @ 6604:291e816acbf4

merge?
author cl349@firebug.cl.cam.ac.uk
date Fri Sep 02 14:17:08 2005 +0000 (2005-09-02)
parents 0a4b76b6b5a0 95cfc001ddd1
children b2f4823b6ff0 b35215021b32 9af349b055e5 3233e7ecfa9f
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