summaryrefslogtreecommitdiff
path: root/sysutils/xentools30/patches/patch-bg
blob: 535c9af2c161d74a5306ceb5181dbfa9519e866d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bg,v 1.2 2006/10/19 22:57:13 bouyer Exp $

--- python/xen/xm/getlabel.py.orig	2006-10-15 14:22:03.000000000 +0200
+++ python/xen/xm/getlabel.py	2006-10-19 21:52:18.000000000 +0200
@@ -55,7 +55,7 @@
     if configfile[0] == '/':
         fd = open(configfile, "rb")
     else:
-        for prefix in [".", "/etc/xen"]:
+        for prefix in [".", "@XENDCONFDIR@"]:
             abs_file = prefix + "/" + configfile
             if os.path.isfile(abs_file):
                 fd = open(abs_file, "rb")