Mercurial > gub
changeset 265:40b22ca9a380
strip ^. from ./usr/lib
author | hanwen <hanwen@xs4all.nl> |
---|---|
date | Sun, 18 Dec 2005 12:17:56 +0100 |
parents | ce6a2bd1dd52 |
children | e1e531fa3a62 |
files | specs/installer.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/specs/installer.py Sun Dec 18 12:05:52 2005 +0100 +++ b/specs/installer.py Sun Dec 18 12:17:56 2005 +0100 @@ -154,9 +154,9 @@ def get_ignore_libs (self): list_file = self.settings.system_root + '/etc/setup/darwin-sdk.lst.gz' - for l in gzip.GzipFile(list_file).readlines (): + for l in gzip.open(list_file).readlines (): if re.match (r'^\./usr/lib/', l): - d[l[:-1]] = True + d[l[1:-1]] = True return d def create (self):