summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-19 22:08:07 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-19 22:08:07 +0000
commit57410421b77410c626836c1b3e161bc0a9d335c2 (patch)
treeeade8e64be63992985ea3cdb5d967c4037e8c898
parent6ff3a816e30edcb12d42eb2ba7a3854e6ef0ac8a (diff)
downloadportage-57410421b77410c626836c1b3e161bc0a9d335c2.tar.gz
portage-57410421b77410c626836c1b3e161bc0a9d335c2.tar.bz2
portage-57410421b77410c626836c1b3e161bc0a9d335c2.zip
Make preprocess_ebuild_env() explicitly filter out FEATURES
since the value for that variable should never come from a previously saved environment. svn path=/main/trunk/; revision=8532
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 228602df4..653aacb22 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1392,6 +1392,7 @@ preprocess_ebuild_env() {
save_ebuild_env > "${T}"/environment.baseline
(
source "${T}"/environment
+ unset FEATURES
source "${T}"/environment.baseline
save_ebuild_env > "${T}"/environment
)