From: Zac Medico Date: Mon, 31 Jul 2006 15:21:03 +0000 (-0000) Subject: Use the cannonical path of when transferring metadata so that the _eclasses_ paths... X-Git-Tag: v2.1-r2~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6cc13ba91675357a7cefe2e2110d33db222dffd6;p=portage.git 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 --- 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))