From: Zac Medico Date: Fri, 16 Mar 2007 01:28:33 +0000 (-0000) Subject: For bug #163262 and conformance with section 7.2 of the PMS, make the export attribut... X-Git-Tag: v2.1.2.3~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7a89b38a01b4477a281c05e374652ba6e5028a7f;p=portage.git For bug #163262 and conformance with section 7.2 of the PMS, make the export attribute of variables persist between ebuild phases. (trunk r6211:6212) svn path=/main/branches/2.1.2/; revision=6213 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index e5af3e754..c60aed7ae 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -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