debuggers.hg
view tools/check/check_python_devel @ 21067:b4a1832a916f
Update Xen version to 4.0.0-rc6
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Tue Mar 09 18:18:05 2010 +0000 (2010-03-09) |
parents | 10d806ca5952 |
children |
line source
1 #!/bin/sh
2 # CHECK-BUILD
4 . ./funcs.sh
6 if test -z ${PYTHON}; then
7 PYTHON=python
8 fi
9 has_or_fail ${PYTHON}
11 ${PYTHON} -c '
12 import os.path, sys
13 for p in sys.path:
14 if os.path.exists(p + "/config/Makefile"):
15 sys.exit(0)
16 sys.exit(1)
17 ' || fail "can't find python devel files"