[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 578810de33a315c0fe680bcde13276e720bd3702
Ville Skyttä
ville.skytta at iki.fi
Mon May 18 12:33:13 UTC 2009
The following commit has been merged in the master branch:
commit 578810de33a315c0fe680bcde13276e720bd3702
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Mon May 18 15:33:07 2009 +0300
Fix leaking $prev from cpio completion.
diff --git a/CHANGES b/CHANGES
index 163e073..cdf08c4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -45,7 +45,7 @@ bash-completion (1.x)
completion, assume only that --*file*= does, and that --*dir*= takes dirs.
* Add make --old/new-file, --assume-old/new, --what-if value completions.
* Add smartctl -n/--nocheck completion, add more other value completions.
- * Fix leaking $prev from mkinitrd completion.
+ * Fix leaking $prev from cpio and mkinitrd completion.
* Split ant completion to contrib/ant, improve the built in one.
[ Todd Zullinger ]
diff --git a/contrib/cpio b/contrib/cpio
index aed3155..84bebcf 100644
--- a/contrib/cpio
+++ b/contrib/cpio
@@ -11,7 +11,7 @@ _cpio_format()
_cpio()
{
- local cur
+ local cur prev
COMPREPLY=()
cur=`_get_cword`
--
bash-completion
More information about the Bash-completion-commits
mailing list