diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-27 08:10:46 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-27 08:14:40 -0700 |
commit | 0c4fd330a28efd73f0609d7d4dccb075cde132e4 (patch) | |
tree | 97ca80df5dcc7e0e74cb6a340fd6dfb8895b05ef | |
parent | 8bd7b521f9abb44376e6a0c533f174ad0f20093c (diff) | |
download | portage-0c4fd330a28efd73f0609d7d4dccb075cde132e4.tar.gz portage-0c4fd330a28efd73f0609d7d4dccb075cde132e4.tar.bz2 portage-0c4fd330a28efd73f0609d7d4dccb075cde132e4.zip |
ebuild: account for symlink in /var/db/pkg path
-rwxr-xr-x | bin/ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild b/bin/ebuild index ecb37951e..9b12e7ee5 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 \ |