From: Zac Medico Date: Fri, 16 Mar 2007 01:20:36 +0000 (-0000) Subject: For bug #163262 and conformance with section 7.2 of the PMS, make the export attribut... X-Git-Tag: v2.2_pre1~1583 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e6c72375397e0a3f40f3a3be2f6745dc9539d746;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. svn path=/main/trunk/; revision=6212 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 7c85b5a39..778f80dd5 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1618,6 +1618,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