Make preprocess_ebuild_env() explicitly filter out FEATURES
authorZac Medico <zmedico@gentoo.org>
Mon, 19 Nov 2007 22:08:07 +0000 (22:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 19 Nov 2007 22:08:07 +0000 (22:08 -0000)
since the value for that variable should never come from a
previously saved environment.

svn path=/main/trunk/; revision=8532

bin/ebuild.sh

index 228602df4dcd38bc70e30300ed9b1e5baadff424..653aacb2273f9b0ec3e222e71234bdd233ccdae7 100755 (executable)
@@ -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
        )