aboutsummaryrefslogtreecommitdiffstats
path: root/tools/check/check_python
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-09-13 13:54:59 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-09-13 13:54:59 +0100
commit9f019b36fd2def8378029007a2166712499de18c (patch)
treecffe845529b44001838380faf010cb6eca6e0de3 /tools/check/check_python
parentc6fed51d96afce5fa320d87a303460843398dedf (diff)
downloadxen-9f019b36fd2def8378029007a2166712499de18c.tar.gz
xen-9f019b36fd2def8378029007a2166712499de18c.tar.bz2
xen-9f019b36fd2def8378029007a2166712499de18c.zip
[TOOLS] Enhance Python version check for v2.5.
From: Charles Coffing <ccoffing@novell.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/check/check_python')
-rwxr-xr-xtools/check/check_python2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check/check_python b/tools/check/check_python
index a217a67141..a30b0690a2 100755
--- a/tools/check/check_python
+++ b/tools/check/check_python
@@ -7,4 +7,4 @@ function error {
exit 1
}
-python -V 2>&1 | cut -d ' ' -f 2 | grep -q -E '^2.2|^2.3|^2.4' || error
+python -V 2>&1 | cut -d ' ' -f 2 | grep -q '^2.[2345]' || error