[lorax] Fix the regexp for matching the ld_linux executable.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pylorax/sysutils.py b/src/pylorax/sysutils.py
index fd8377e..f80018b 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<ld_linux>.*)$")
+        pattern = re.compile(r'^RTLDLIST="?(?P<ld_linux>.*?)"?$')
 
         with open(self.LDDBIN, "r") as f:
             for line in f:
-- 
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux