diff options
author | Crestez Dan Leonard <cdleonard@gmail.com> | 2010-02-04 19:18:14 +0200 |
---|---|---|
committer | Crestez Dan Leonard <cdleonard@gmail.com> | 2010-02-04 19:18:14 +0200 |
commit | b493869b8d4e5b2a1715d15c86dd3a3a01739299 (patch) | |
tree | 36177b4c46ee47c8971991093b3102dc2708d6d0 | |
parent | bfb55ddf32421ea0b0d7feb16006462b51a1a909 (diff) | |
download | bash-completion-b493869b8d4e5b2a1715d15c86dd3a3a01739299.tar.gz |
_reply_compgen_array: Fix leaking to environment
-rw-r--r-- | contrib/mount | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/mount b/contrib/mount index b581bc27..41afb07d 100644 --- a/contrib/mount +++ b/contrib/mount @@ -17,7 +17,7 @@ _reply_compgen_array() # One round of escape is because we want to reply with escaped arguments. A # second round is required because compgen -W will helpfully expand it's # argument. - local wlist + local i wlist for i in ${!COMPREPLY[*]}; do local q=`printf %q "${COMPREPLY[$i]}"` wlist+=$(quote "$q")$'\n' |