summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-02-01 06:15:17 +0000
committerZac Medico <zmedico@gentoo.org>2007-02-01 06:15:17 +0000
commita2973e0260746c6cf11c804fa991727b07ed099a (patch)
tree43b9e57ba6e312f28c00dc20998c14864e72e743
parent309deebb24acbf457e8470d834dda14080c76dd2 (diff)
downloadportage-a2973e0260746c6cf11c804fa991727b07ed099a.tar.gz
portage-a2973e0260746c6cf11c804fa991727b07ed099a.tar.bz2
portage-a2973e0260746c6cf11c804fa991727b07ed099a.zip
Load the most current variables from /etc/profile.env for post_emerge stuff.
svn path=/main/trunk/; revision=5858
-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(":")