]>
Commit | Line | Data |
---|---|---|
f4c7726e | 1 | --- xen-3.0.4_1-src/tools/check/check_python_devel~ 2008-05-24 00:01:14.000000000 +0300 |
2 | +++ xen-3.0.4_1-src/tools/check/check_python_devel 2008-05-24 00:01:16.695654488 +0300 | |
3 | @@ -5,9 +5,9 @@ | |
4 | ||
5 | python -c ' | |
6 | import os.path, sys | |
7 | -for p in sys.path: | |
8 | - if os.path.exists(p + "/config/Makefile"): | |
9 | - sys.exit(0) | |
10 | +p = os.path.join(sys.prefix, sys.lib, "python%s" % sys.version[:3], "config", "Makefile") | |
11 | +if os.path.exists(p): | |
12 | + sys.exit(0) | |
13 | sys.exit(1) | |
14 | ' || RC=1 | |
15 |