[packages/bash-completion] do not hardcode spec name :)
glen
glen at pld-linux.org
Sun Aug 12 19:32:27 CEST 2012
commit 90d32772a78733983f03dc3f8098560bea9b283c
Author: Elan Ruusamäe <glen at delfi.ee>
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
More information about the pld-cvs-commit
mailing list