From a3d550952a93d0a24bf49f2db1498505a059d959 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Thu, 25 Feb 2010 18:09:56 +0100 Subject: [PATCH] Fix the regexp for matching the ld_linux executable. Remove the double quotes from the resulting match object, if there is more than one ld_linux file specified. --- src/pylorax/sysutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/sysutils.py b/src/pylorax/sysutils.py index fd8377ee..f80018b0 100644 --- a/src/pylorax/sysutils.py +++ b/src/pylorax/sysutils.py @@ -347,7 +347,7 @@ class Linker(object): libdirs = ":".join(libdirs) ld_linux = None - pattern = re.compile(r"^RTLDLIST=(?P.*)$") + pattern = re.compile(r'^RTLDLIST="?(?P.*?)"?$') with open(self.LDDBIN, "r") as f: for line in f: