summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 980dc2bb0..059140140 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -3536,6 +3536,12 @@ def post_emerge(settings, mtimedb, retval):
"""
target_root = settings["ROOT"]
info_mtimes = mtimedb["info"]
+
+ # Load the most current variables from ${ROOT}/etc/profile.env
+ settings.unlock()
+ settings.regenerate()
+ settings.lock()
+
config_protect = settings.get("CONFIG_PROTECT","").split()
infodirs = settings.get("INFOPATH","").split(":") + \
settings.get("INFODIR","").split(":")