summaryrefslogtreecommitdiffstats
path: root/bin/emerge
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-31 15:21:03 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-31 15:21:03 +0000
commit6cc13ba91675357a7cefe2e2110d33db222dffd6 (patch)
tree1c32110927f1975190e93e7c660c1fb333cd4692 /bin/emerge
parent32d1db4af2ecd2a98db1d001e394ad2c7fc73b6e (diff)
downloadportage-6cc13ba91675357a7cefe2e2110d33db222dffd6.tar.gz
portage-6cc13ba91675357a7cefe2e2110d33db222dffd6.tar.bz2
portage-6cc13ba91675357a7cefe2e2110d33db222dffd6.zip
Use the cannonical path of when transferring metadata so that the _eclasses_ paths are consistent for bug #137965. This patch is from trunk r3666.
svn path=/main/branches/2.1/; revision=4055
Diffstat (limited to 'bin/emerge')
-rwxr-xr-xbin/emerge1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index ee195e12d..da71d647f 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2981,6 +2981,7 @@ if myaction in ["sync","metadata"] and (not "--help" in myopts):
ec = portage.eclass_cache.cache(portage.portdb.porttree_root)
# kinda ugly.
# XXX: nuke the filter when mr UNUSED_0? keys are dead
+ myportdir = os.path.realpath(portage.settings["PORTDIR"])
cm = portage.settings.load_best_module("portdbapi.metadbmodule")(myportdir, "metadata/cache",
filter(lambda x: not x.startswith("UNUSED_0"), portage.auxdbkeys))