commit 90d32772a78733983f03dc3f8098560bea9b283c
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Aug 12 20:30:17 2012 +0300

    do not hardcode spec name :)

 builder.bash-completion | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/builder.bash-completion b/builder.bash-completion
index 15c2a15..a20c219 100644
--- a/builder.bash-completion
+++ b/builder.bash-completion
@@ -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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to