summaryrefslogtreecommitdiffstats
path: root/pym/portage/_legacy_globals.py
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-09-04 19:57:53 +0200
committerFabian Groffen <grobian@gentoo.org>2010-09-04 19:57:53 +0200
commitf8f1d8c4ffd6848297e810181707adf87e442bb6 (patch)
treedce957f751e6b6a8a078b2a1145fa2ed7f8571c7 /pym/portage/_legacy_globals.py
parent0e52b06e0da1dc22a09f80f198c4fa7e4a5aa9aa (diff)
downloadportage-f8f1d8c4ffd6848297e810181707adf87e442bb6.tar.gz
portage-f8f1d8c4ffd6848297e810181707adf87e442bb6.tar.bz2
portage-f8f1d8c4ffd6848297e810181707adf87e442bb6.zip
use EROOT with CACHE_PATH
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)