Load the most current variables from /etc/profile.env for post_emerge stuff.
authorZac Medico <zmedico@gentoo.org>
Thu, 1 Feb 2007 06:15:17 +0000 (06:15 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 1 Feb 2007 06:15:17 +0000 (06:15 -0000)
svn path=/main/trunk/; revision=5858

bin/emerge

index 980dc2bb041797000a9654637425dec8905722d1..059140140bd0d45e6474bdab2a3579cff148b3a5 100755 (executable)
@@ -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(":")