projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bd7b52
)
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:14:40 +0000
(08:14 -0700)
bin/ebuild
patch
|
blob
|
history
diff --git
a/bin/ebuild
b/bin/ebuild
index ecb37951e0b2bb535025dba7a1fc4364d06c1b57..9b12e7ee5b93cc188c7702262901efad44216e4e 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 \