source: trunk/packages/xen-3.1/xen-3.1/tools/check/check_python @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

  • Property svn:executable set to *
File size: 240 bytes
Line 
1#!/bin/sh
2# CHECK-BUILD CHECK-INSTALL
3
4RC=0
5
6python -c '
7import sys
8sys.exit(sys.version_info[0] < 2 or sys.version_info[1] < 2)
9' || RC=1
10
11if test ${RC} -ne 0; then
12        echo
13        echo " *** Check for Python version >= 2.2 FAILED"
14fi
15
16exit ${RC} 
Note: See TracBrowser for help on using the repository browser.