Inside, create_trees(), pass target_root="/" into the config constructor
authorZac Medico <zmedico@gentoo.org>
Sat, 7 Jun 2008 23:50:16 +0000 (23:50 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 7 Jun 2008 23:50:16 +0000 (23:50 -0000)
when necessary to override the setting in make.conf.

svn path=/main/trunk/; revision=10598

pym/portage/__init__.py

index f4e246c9e94880ee6b670478366b01386a9b9ef2..55a5399c93b1995abfd80e7d70201e95ba027c27 100644 (file)
@@ -6757,7 +6757,7 @@ def create_trees(config_root=None, target_root=None, trees=None):
 
        myroots = [(settings["ROOT"], settings)]
        if settings["ROOT"] != "/":
-               settings = config(config_root=None, target_root=None,
+               settings = config(config_root=None, target_root="/",
                        config_incrementals=portage.const.INCREMENTALS)
                # When ROOT != "/" we only want overrides from the calling
                # environment to apply to the config that's associated