From a7cfc5a30f702052de3fc87dfb657175e764d5b0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 24 Jun 2006 18:26:40 +0000 Subject: [PATCH] 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 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2