ia64/xen-unstable

view tools/check/check_python @ 8964:8946b6dcd49e

Fix x86_64 Xen build.

event_callback_cs and failsafe_callback_cs are x86_32 only.

Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
author Ian.Campbell@xensource.com
date Wed Feb 22 17:26:39 2006 +0000 (2006-02-22)
parents 06d84bf87159
children b7f763a8a7ef
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