summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-24 18:26:40 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-24 18:26:40 +0000
commita7cfc5a30f702052de3fc87dfb657175e764d5b0 (patch)
tree4a81eaf44099e27a03e8fdb818ce2412cd173bd0 /pym
parentf4eca579acb65b7f11699b12e2c59a22f06c019c (diff)
downloadportage-a7cfc5a30f702052de3fc87dfb657175e764d5b0.tar.gz
portage-a7cfc5a30f702052de3fc87dfb657175e764d5b0.tar.bz2
portage-a7cfc5a30f702052de3fc87dfb657175e764d5b0.zip
The mtimedb should not be relative to the target $ROOT because the paths that it contains are currently relative to "/".
svn path=/main/trunk/; revision=3643
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 5a17b9d60..6f6371991 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -7063,7 +7063,7 @@ def init_legacy_globals():
do_vartree(settings, trees=db)
portdb = portdbapi(settings["PORTDIR"], mysettings=config(clone=settings))
- mtimedbfile = os.path.join(root, CACHE_PATH.lstrip(os.path.sep), "mtimedb")
+ mtimedbfile = os.path.join("/", CACHE_PATH.lstrip(os.path.sep), "mtimedb")
try:
f = open(mtimedbfile)
mtimedb = load_mtimedb(f)