[projects/pld-builder.new] client: Better sorting of options and add help message for update-scripts
draenog
draenog at pld-linux.org
Tue Apr 16 14:08:35 CEST 2013
commit f255298f31a7ce6c91c7073b07486635e5949321
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Tue Apr 16 13:06:31 2013 +0100
client: Better sorting of options and add help message for update-scripts
client/make-request.sh | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/client/make-request.sh b/client/make-request.sh
index 4e7bfe6..6dde9ff 100755
--- a/client/make-request.sh
+++ b/client/make-request.sh
@@ -264,6 +264,8 @@ Mandatory arguments to long options are mandatory for short options too.
Updates builders infrastructure (outside chroot)
--update-macros
Updates rpm-build-macros on src builder
+ --update-scripts
+ Updates ~/rpm/rpm-build-tools on builder
-q
shortcut for --command rpm -q ARGS
-g, --gpg-opts "opts"
@@ -449,9 +451,6 @@ while [ $# -gt 0 ]; do
f_upgrade=no
shift
;;
- --update-scripts)
- upgrade_scripts='yes'
- ;;
-q)
command="rpm -q $2"
f_upgrade=no
@@ -468,6 +467,10 @@ while [ $# -gt 0 ]; do
upgrade_macros="yes"
;;
+ --update-scripts)
+ upgrade_scripts='yes'
+ ;;
+
-df | --distfiles-fetch | --distfiles-fetch-request)
df_fetch=yes
;;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/f255298f31a7ce6c91c7073b07486635e5949321
More information about the pld-cvs-commit
mailing list