summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-24 02:58:31 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-24 02:58:31 +0000
commitc56d3851326a53b5b31f5f26250780f229a66cb5 (patch)
tree6b28347b103d7432eb49f86044f019fe6e40d8d6
parent9792466c8d6825e57038e97959b132d77237a397 (diff)
downloadportage-c56d3851326a53b5b31f5f26250780f229a66cb5.tar.gz
portage-c56d3851326a53b5b31f5f26250780f229a66cb5.tar.bz2
portage-c56d3851326a53b5b31f5f26250780f229a66cb5.zip
Fix the var_grep variable in filter_readonly_variables() so that
it's properly local. svn path=/main/trunk/; revision=8634
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 6bf3a192d..6d38e57b4 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -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}