summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-24 02:59:00 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-24 02:59:00 +0000
commit095c8684c6dc5c4e91aa6251a04a3fc852bbe975 (patch)
treef1131cb666b9785435832d69688efdb96e8a7d7d /bin/ebuild.sh
parentdca1debbc5fbb9490bc5f5627775ab4fd3fffbef (diff)
downloadportage-095c8684c6dc5c4e91aa6251a04a3fc852bbe975.tar.gz
portage-095c8684c6dc5c4e91aa6251a04a3fc852bbe975.tar.bz2
portage-095c8684c6dc5c4e91aa6251a04a3fc852bbe975.zip
Fix the var_grep variable in filter_readonly_variables() so that
it's properly local. (trunk r8634) svn path=/main/branches/2.1.2/; revision=8635
Diffstat (limited to 'bin/ebuild.sh')
-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}