The mtimedb should not be relative to the target $ROOT because the paths that it...
authorZac Medico <zmedico@gentoo.org>
Sat, 24 Jun 2006 18:26:40 +0000 (18:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 24 Jun 2006 18:26:40 +0000 (18:26 -0000)
svn path=/main/trunk/; revision=3643

pym/portage.py

index 5a17b9d603a10e1532fae1a3ed0908c2c3b15fab..6f637199193a8ef4b4308db5ca3348e558c9546c 100644 (file)
@@ -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)