ia64/xen-unstable

changeset 11462:b7f763a8a7ef

[TOOLS] Enhance Python version check for v2.5.
From: Charles Coffing <ccoffing@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Sep 13 13:54:59 2006 +0100 (2006-09-13)
parents 1d7c72e53d3d
children 98fcd017c5f3
files tools/check/check_python
line diff
     1.1 --- a/tools/check/check_python	Wed Sep 13 13:52:03 2006 +0100
     1.2 +++ b/tools/check/check_python	Wed Sep 13 13:54:59 2006 +0100
     1.3 @@ -7,4 +7,4 @@ function error {
     1.4      exit 1
     1.5  }
     1.6  
     1.7 -python -V 2>&1 | cut -d ' ' -f 2 | grep -q -E '^2.2|^2.3|^2.4' || error
     1.8 +python -V 2>&1 | cut -d ' ' -f 2 | grep -q '^2.[2345]' || error