projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fc69a4
)
Fix $ROOT handling inside LinkageMap.findConsumers().
author
Zac Medico
<zmedico@gentoo.org>
Tue, 28 Oct 2008 23:15:24 +0000
(23:15 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 28 Oct 2008 23:15:24 +0000
(23:15 -0000)
svn path=/main/trunk/; revision=11741
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index effde704c6658c87a3e53f2fdae139fda4140678..57dba00a134bdffa97274569fc64d24c865a4e71 100644
(file)
--- 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