summaryrefslogtreecommitdiffstats
path: root/pym/portage/_legacy_globals.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/_legacy_globals.py')
-rw-r--r--pym/portage/_legacy_globals.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/_legacy_globals.py b/pym/portage/_legacy_globals.py
index baabcc2e6..615591af3 100644
--- a/pym/portage/_legacy_globals.py
+++ b/pym/portage/_legacy_globals.py
@@ -16,7 +16,7 @@ def _get_legacy_global(name):
return getattr(portage, name)
elif name in ('mtimedb', 'mtimedbfile'):
- portage.mtimedbfile = os.path.join(portage.root,
+ portage.mtimedbfile = os.path.join(portage.settings['EROOT'],
CACHE_PATH, "mtimedb")
constructed.add('mtimedbfile')
portage.mtimedb = portage.MtimeDB(portage.mtimedbfile)