blob: b8ae240c9987efc0f3c6d0ae8c8db961ab6b87c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-cs,v 1.2 2007/12/03 21:54:31 bouyer Exp $
--- misc/xen-python-path.orig 2007-11-15 00:35:27.000000000 +0100
+++ misc/xen-python-path 2007-12-03 12:45:29.000000000 +0100
@@ -22,14 +22,14 @@
# take the first installed instance of auxbin that we find, and then run it
# to determine the correct path, appending that to sys.path.
-AUXBIN = 'xen/util/auxbin.py'
+AUXBIN = 'site-packages/xen/util/auxbin.py'
import os
import os.path
import sys
for p in ['python%s' % sys.version[:3], 'python']:
- for l in ['/usr/lib64', '/usr/lib']:
+ for l in ['@PREFIX@/lib']:
for k in ['', 'site-packages/']:
d = os.path.join(l, p, k)
if os.path.exists(os.path.join(d, AUXBIN)):
|