For bug #163262 and conformance with section 7.2 of the PMS, make the export attribut...
authorZac Medico <zmedico@gentoo.org>
Fri, 16 Mar 2007 01:28:33 +0000 (01:28 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 16 Mar 2007 01:28:33 +0000 (01:28 -0000)
svn path=/main/branches/2.1.2/; revision=6213

bin/ebuild.sh

index e5af3e754a8c612386cff6280225a12d6116ed08..c60aed7aef407f1ccdc7eb25ec9a113f586513b8 100755 (executable)
@@ -1693,6 +1693,7 @@ if [ -n "${myarg}" ] && \
        # Save current environment and touch a success file. (echo for success)
        umask 002
        set | egrep -v "^SANDBOX_" > "${T}/environment" 2>/dev/null
+       export | egrep -v "^declare -x SANDBOX_" >> "${T}/environment" 2>/dev/null
        chown portage:portage "${T}/environment" &>/dev/null
        chmod g+w "${T}/environment" &>/dev/null
 fi