Fix the var_grep variable in filter_readonly_variables() so that
authorZac Medico <zmedico@gentoo.org>
Sat, 24 Nov 2007 02:59:00 +0000 (02:59 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 24 Nov 2007 02:59:00 +0000 (02:59 -0000)
it's properly local. (trunk r8634)

svn path=/main/branches/2.1.2/; revision=8635

bin/ebuild.sh

index 6bf3a192d1e382ed29614e1abc9c03c748659190..6d38e57b473425f767f825aaf2dcd87bca9125bf 100755 (executable)
@@ -1381,7 +1381,7 @@ READONLY_PORTAGE_VARS="D EBUILD EBUILD_PHASE EBUILD_SH_ARGS FILESDIR \
 # builtin command. To avoid this problem, this function filters those
 # variables out and discards them. See bug #190128.
 filter_readonly_variables() {
-       local x filtered_vars
+       local x filtered_vars var_grep
        local readonly_bash_vars="DIRSTACK EUID FUNCNAME GROUPS
                PIPESTATUS PPID SHELLOPTS UID"
        filtered_vars="${readonly_bash_vars} ${READONLY_PORTAGE_VARS}