summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-10-28 23:15:24 +0000
committerZac Medico <zmedico@gentoo.org>2008-10-28 23:15:24 +0000
commitbf55d26ed5704cf74f359773a12fbd7e1ea52f51 (patch)
tree2b10bd3d4044d302816e04b70726f37a4bd9035d
parent8fc69a47f199ad8d10c5a404ea8beefba2d03f81 (diff)
downloadportage-bf55d26ed5704cf74f359773a12fbd7e1ea52f51.tar.gz
portage-bf55d26ed5704cf74f359773a12fbd7e1ea52f51.tar.bz2
portage-bf55d26ed5704cf74f359773a12fbd7e1ea52f51.zip
Fix $ROOT handling inside LinkageMap.findConsumers().
svn path=/main/trunk/; revision=11741
-rw-r--r--pym/portage/dbapi/vartree.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index effde704c..57dba00a1 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -575,7 +575,8 @@ class LinkageMap(object):
raise KeyError("%s (%s) not in object list" % (obj_key, obj))
# Determine the directory(ies) from the set of objects.
- objs_dirs = set([os.path.dirname(x) for x in objs])
+ objs_dirs = set(os.path.join(self._root,
+ os.path.dirname(x).lstrip(os.sep)) for x in objs)
# If there is another version of this lib with the
# same soname and the master link points to that