summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-07 23:50:16 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-07 23:50:16 +0000
commitdc82c752c653cd57c22291e79f8dae06181f55a2 (patch)
treefe666c79b10f29abf91f7e6f95d4e1fb996c596c
parentb95f51a5f9db66097e5826a12bd54c78f9c15204 (diff)
downloadportage-dc82c752c653cd57c22291e79f8dae06181f55a2.tar.gz
portage-dc82c752c653cd57c22291e79f8dae06181f55a2.tar.bz2
portage-dc82c752c653cd57c22291e79f8dae06181f55a2.zip
Inside, create_trees(), pass target_root="/" into the config constructor
when necessary to override the setting in make.conf. svn path=/main/trunk/; revision=10598
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index f4e246c9e..55a5399c9 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -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