summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-05-17 19:15:58 -0700
committerZac Medico <zmedico@gentoo.org>2011-05-17 19:15:58 -0700
commit7d103598c0c7bec5451146d75f419b156e39de2f (patch)
treec966a7cd75c7f5ad3b8824cd442a74eaaca76977
parenteead9bd14c71c6c0acca81b4cd2bf1bc2bf8644d (diff)
downloadportage-7d103598c0c7bec5451146d75f419b156e39de2f.tar.gz
portage-7d103598c0c7bec5451146d75f419b156e39de2f.tar.bz2
portage-7d103598c0c7bec5451146d75f419b156e39de2f.zip
--autounmask-write: use CONFIGROOT more
-rw-r--r--pym/_emerge/depgraph.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 15a5df816..e1557a1b5 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -5818,7 +5818,9 @@ class depgraph(object):
if write_to_file:
for root in roots:
- abs_user_config = os.path.join(root, USER_CONFIG_PATH)
+ settings = self._frozen_config.roots[root].settings
+ abs_user_config = os.path.join(
+ settings["PORTAGE_CONFIGROOT"], USER_CONFIG_PATH)
if root in unstable_keyword_msg:
write_changes(root, unstable_keyword_msg[root],