summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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))