aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2016-09-14 12:48:03 -0700
committerBrian Dolbec <dolsen@gentoo.org>2016-09-14 12:49:32 -0700
commit06af2be2d987c0a2f34c872ed3d86ab74fe9800d (patch)
tree12da9c3a25a61fa7457f683607ec2f9773b232aa
parentrevdep-rebuild: Fix filename matching for directories (bug 593672) (diff)
downloadgentoolkit-06af2be2d987c0a2f34c872ed3d86ab74fe9800d.zip
gentoolkit-06af2be2d987c0a2f34c872ed3d86ab74fe9800d.tar.gz
gentoolkit-06af2be2d987c0a2f34c872ed3d86ab74fe9800d.tar.bz2
revdep-rebuild: Use realpath on the mask directories too (Bug 593672)
-rw-r--r--pym/gentoolkit/revdep_rebuild/analyse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/revdep_rebuild/analyse.py b/pym/gentoolkit/revdep_rebuild/analyse.py
index b8fca4b..698a43f 100644
--- a/pym/gentoolkit/revdep_rebuild/analyse.py
+++ b/pym/gentoolkit/revdep_rebuild/analyse.py
@@ -247,7 +247,7 @@ class LibCheck(object):
def is_masked(self, filename):
for m in self.masked_dirs:
- t = m.split(os.sep)
+ t = os.path.realpath(m).split(os.sep)
f = filename.split(os.sep)
# self.logger.debug("\tis_masked(); %s, %s" % (t, f))
if t == f[:min(len(t), len(f))]: