From: Zac Medico Date: Wed, 18 May 2011 02:15:58 +0000 (-0700) Subject: --autounmask-write: use CONFIGROOT more X-Git-Tag: v2.2.0_alpha34~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7d103598c0c7bec5451146d75f419b156e39de2f;p=portage.git --autounmask-write: use CONFIGROOT more --- 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],