Use the cannonical path of when transferring metadata so that the _eclasses_ paths...
authorZac Medico <zmedico@gentoo.org>
Mon, 31 Jul 2006 15:21:03 +0000 (15:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 31 Jul 2006 15:21:03 +0000 (15:21 -0000)
svn path=/main/branches/2.1/; revision=4055

bin/emerge

index ee195e12d099da5446dd4f22c903eac023953509..da71d647fa48fbca9da2f7d2ba36efd4e2cc9be7 100755 (executable)
@@ -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))