File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 22
33_lintian_tags ()
44{
5- local match search tags check_files
5+ local search tags check_files
66 _comp_expand_glob check_files ' /usr/share/lintian/checks/*.desc'
77 (( ${# check_files[@]} )) || return 0
88
99 tags=$( awk ' /^Tag/ { print $2 }' " ${check_files[@]} " )
1010 if [[ $cur == * , ]]; then
1111 search=${cur// ,/ }
1212 for item in $search ; do
13- match=$( command grep -nE " ^Tag: $item $" \
14- " ${check_files[@]} " | cut -d: -f1)
1513 tags=$( command sed -e " s/\<$item \>//g" <<< " $tags" )
1614 done
1715 COMPREPLY+=($( compgen -W " $tags " ) )
@@ -50,7 +48,7 @@ _lintian_checks()
5048
5149_lintian_infos ()
5250{
53- local match search infos collection_files
51+ local search infos collection_files
5452 _comp_expand_glob collection_files ' /usr/share/lintian/collection/*.desc'
5553 (( ${# collection_files[@]} )) || return 0
5654
@@ -59,8 +57,6 @@ _lintian_infos()
5957 if [[ $cur == * , ]]; then
6058 search=${cur// ,/ }
6159 for item in $search ; do
62- match=$( command grep -nE " ^Collector: $item $" \
63- " ${collection_files[@]} " | cut -d: -f1)
6460 infos=$( command sed -e " s/\<$item \>//g" <<< " $infos" )
6561 done
6662 COMPREPLY+=($( compgen -W " $infos " ) )
You can’t perform that action at this time.
0 commit comments