From: Zac Medico Date: Wed, 27 Oct 2010 15:10:46 +0000 (-0700) Subject: ebuild: account for symlink in /var/db/pkg path X-Git-Tag: v2.2.0_alpha2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=391de38158ce9fc55195930199de739d17453859;p=portage.git ebuild: account for symlink in /var/db/pkg path --- 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 \