Use the cannonical path of $PORTDIR when transferring metadata so that the _eclasses_...
authorZac Medico <zmedico@gentoo.org>
Mon, 26 Jun 2006 06:21:56 +0000 (06:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 26 Jun 2006 06:21:56 +0000 (06:21 -0000)
svn path=/main/trunk/; revision=3666

bin/emerge

index 1acde4c2440c935a6d87539d5d7e3a3ae95b9a9f..d0d1a3fdc0fd29f4ddbadc3b7593a98ca6dc7f2a 100755 (executable)
@@ -2766,7 +2766,7 @@ def action_metadata(myopts):
        portage.portdb.flush_cache()
 
        ec = portage.eclass_cache.cache(portage.portdb.porttree_root)
-       myportdir = portage.settings["PORTDIR"]
+       myportdir = os.path.realpath(portage.settings["PORTDIR"])
        cm = portage.settings.load_best_module("portdbapi.metadbmodule")(
                myportdir, "metadata/cache", portage.auxdbkeys[:])