From 7a89b38a01b4477a281c05e374652ba6e5028a7f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 16 Mar 2007 01:28:33 +0000 Subject: 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 --- bin/ebuild.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') 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 -- cgit v1.2.3-1-g7c22