summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-26 06:21:56 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-26 06:21:56 +0000
commit3f1530507147d009b65abecce6e908793a149a31 (patch)
tree165ca1b7958428118a69d0264ab0dcaf2164118e
parent2c42fed35a7352eeaacff20aa08614832d236a63 (diff)
downloadportage-3f1530507147d009b65abecce6e908793a149a31.tar.gz
portage-3f1530507147d009b65abecce6e908793a149a31.tar.bz2
portage-3f1530507147d009b65abecce6e908793a149a31.zip
Use the cannonical path of $PORTDIR when transferring metadata so that the _eclasses_ paths are consistent. See bug #137965.
svn path=/main/trunk/; revision=3666
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 1acde4c24..d0d1a3fdc 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -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[:])