commit:     0505c2e37bdfe3279bc4d1effcc4c1bb5148aa9e
Author:     Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
AuthorDate: Thu Aug  4 22:45:01 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug  6 21:00:12 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=0505c2e3

dispatch-conf: respect (E)ROOT

Signed-off-by: Alfred Persson Forsberg <cat <AT> catcream.org>
Closes: https://github.com/gentoo/portage/pull/881
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/dispatch-conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/dispatch-conf b/bin/dispatch-conf
index 9490197d3..e7634eab6 100755
--- a/bin/dispatch-conf
+++ b/bin/dispatch-conf
@@ -116,7 +116,7 @@ class dispatch:
 
         perform_conf_update_session_hooks("pre-session")
 
-        config_root = portage.settings["EPREFIX"] or os.sep
+        config_root = portage.settings["EROOT"]
         self.options = portage.dispatch_conf.read_config(MANDATORY_OPTS)
 
         if "log-file" in self.options:

Reply via email to