[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-126-g2e97527

Igor Murzov e-mail at date.by
Tue Jan 10 00:12:42 UTC 2012


The following commit has been merged in the master branch:
commit 2e975278c59de9ab6caa5ace65de4b49c6678e65
Author: Igor Murzov <e-mail at date.by>
Date:   Tue Jan 10 03:48:15 2012 +0400

    _command_offset: Properly quote arguments of eval (Alioth: #313499).

diff --git a/bash_completion b/bash_completion
index e3ff95f..ef79f0a 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1712,7 +1712,7 @@ _command_offset()
             else
                 cspec=${cspec#complete}
                 cspec=${cspec%%$compcmd}
-                COMPREPLY=( $( eval compgen "$cspec" -- "$cur" ) )
+                COMPREPLY=( $( eval compgen "$cspec" -- '$cur' ) )
             fi
         elif [[ ${#COMPREPLY[@]} -eq 0 ]]; then
             # XXX will probably never happen as long as completion loader loads

-- 
bash-completion



More information about the Bash-completion-commits mailing list