]> git.pld-linux.org Git - packages/bash-completion.git/commitdiff
do not hardcode spec name :)
authorElan Ruusamäe <glen@delfi.ee>
Sun, 12 Aug 2012 17:30:17 +0000 (20:30 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 12 Aug 2012 17:30:17 +0000 (20:30 +0300)
builder.bash-completion

index 15c2a15e81fe546fcc111426f629f88afe7f73d3..a20c21995b23c2f91c929e7fdfa6b13274fd27c5 100644 (file)
@@ -15,11 +15,12 @@ _builder()
        case $prev in
        -r)
                local spec=*.spec
-               _builder_spec_tags "$cur" "$spec"
+               _builder_spec_tags $cur $spec
                return 0
                ;;
        --with|--without)
-               $1 -nn -ncs --show-avail-bconds automake.spec
+               local spec=*.spec
+               $1 -nn -ncs --show-avail-bconds $spec
                return 0
                ;;
        esac
This page took 0.108401 seconds and 4 git commands to generate.