source: trunk/packages/xen-3.1/xen-3.1/tools/check/check_python_devel @ 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: 272 bytes
Line 
1#!/bin/sh
2# CHECK-BUILD
3
4RC=0
5
6python -c '
7import os.path, sys
8for p in sys.path:
9        if os.path.exists(p + "/config/Makefile"):
10                sys.exit(0)
11sys.exit(1)
12' || RC=1
13
14if test ${RC} -ne 0; then
15        echo
16        echo " *** Check for python development environment FAILED"
17fi
18
19exit ${RC}
Note: See TracBrowser for help on using the repository browser.