From: Zac Medico Date: Sat, 24 Jun 2006 18:26:40 +0000 (-0000) Subject: The mtimedb should not be relative to the target $ROOT because the paths that it... X-Git-Tag: v2.1.1~397 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a7cfc5a30f702052de3fc87dfb657175e764d5b0;p=portage.git 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 --- 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)