From 1a2dd7e63e244246c941a429e52275edc77bf6ed Mon Sep 17 00:00:00 2001 From: mfranz Date: Tue, 19 Aug 2008 06:52:47 +0000 Subject: [PATCH] lsprop: make included paths absolute --- scripts/tools/lsprop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tools/lsprop b/scripts/tools/lsprop index 91ebca95c..26c1b5273 100755 --- a/scripts/tools/lsprop +++ b/scripts/tools/lsprop @@ -127,7 +127,7 @@ class parse_xml_file(xml.sax.handler.ContentHandler): self.type = attrs["type"] if attrs.has_key("include"): - path = os.path.dirname(self.path) + "/" + attrs["include"] + path = os.path.dirname(os.path.abspath(self.path)) + "/" + attrs["include"] if attrs.has_key("omit-node") and attrs["omit-node"] == "y" or self.level == 1: self.stack.append([None, None, self.stack[-1][2], []]) else: -- 2.39.5