commit:     6f25ddc48be233c8c832eb733c2f46a3a587051a
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Sun Sep 15 02:56:59 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 03:06:50 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=6f25ddc4

__filter_readonly_variables: Filter ___* variables.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 bin/phase-functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh
index e6380f554..0bc0d525e 100644
--- a/bin/phase-functions.sh
+++ b/bin/phase-functions.sh
@@ -97,7 +97,7 @@ __filter_readonly_variables() {
        # Untrusted due to possible application of package renames to binpkgs
        local binpkg_untrusted_vars="CATEGORY P PF PN PR PV PVR"
        local misc_garbage_vars="_portage_filter_opts"
-       filtered_vars="$readonly_bash_vars $bash_misc_vars
+       filtered_vars="___.* $readonly_bash_vars $bash_misc_vars
                $PORTAGE_READONLY_VARS $misc_garbage_vars"
 
        # Filter SYSROOT unconditionally. It is propagated in every EAPI

Reply via email to