summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-03-16 01:28:33 +0000
committerZac Medico <zmedico@gentoo.org>2007-03-16 01:28:33 +0000
commit7a89b38a01b4477a281c05e374652ba6e5028a7f (patch)
treef4502f16349db16c41956f0c0cfe0024c798e309
parentMake prepinfo remove installed info indexes recursively. Thanks to Christian... (diff)
downloadportage-multirepo-7a89b38a01b4477a281c05e374652ba6e5028a7f.tar.gz
portage-multirepo-7a89b38a01b4477a281c05e374652ba6e5028a7f.tar.bz2
portage-multirepo-7a89b38a01b4477a281c05e374652ba6e5028a7f.zip
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
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index e5af3e75..c60aed7a 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