summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-27 08:10:46 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-27 08:10:46 -0700
commit391de38158ce9fc55195930199de739d17453859 (patch)
tree35fe25e600eed5ce2e3ac5575b313b591dbd19a7
parent1ef4238727ec3cd69bda9bcae9ce899fd3e66f43 (diff)
downloadportage-391de38158ce9fc55195930199de739d17453859.tar.gz
portage-391de38158ce9fc55195930199de739d17453859.tar.bz2
portage-391de38158ce9fc55195930199de739d17453859.zip
ebuild: account for symlink in /var/db/pkg path
-rwxr-xr-xbin/ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild b/bin/ebuild
index 93859327d..f7008b1b5 100755
--- 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 \