projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ef4238
)
ebuild: account for symlink in /var/db/pkg path
author
Zac Medico
<zmedico@gentoo.org>
Wed, 27 Oct 2010 15:10:46 +0000
(08:10 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 27 Oct 2010 15:10:46 +0000
(08:10 -0700)
bin/ebuild
patch
|
blob
|
history
diff --git
a/bin/ebuild
b/bin/ebuild
index 93859327dc5049e8c7c1b7ef5df22508d374d6c9..f7008b1b5c9efd25841a157a0869e3fa20771add 100755
(executable)
--- a/
bin/ebuild
+++ b/
bin/ebuild
@@
-131,7
+131,7
@@
ebuild = portage.normalize_path(ebuild)
ebuild_portdir = os.path.realpath(
os.path.dirname(os.path.dirname(os.path.dirname(ebuild))))
ebuild = os.path.join(ebuild_portdir, *ebuild.split(os.path.sep)[-3:])
-vdb_path = os.path.
join(portage.settings['EROOT'], VDB_PATH
)
+vdb_path = os.path.
realpath(os.path.join(portage.settings['EROOT'], VDB_PATH)
)
# Make sure that portdb.findname() returns the correct ebuild.
if ebuild_portdir != vdb_path and \