[packages/rpm-build-tools/merge-pld-builder-client: 2384/2675] client: Better sorting of options and add help message for update-scripts

glen glen at pld-linux.org
Mon Dec 19 22:05:07 CET 2016


commit 40e9f8c2ecbd112c80107098bcbabcff23b27e4e
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

 make-request.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/make-request.sh b/make-request.sh
index 4e7bfe6..6dde9ff 100755
--- a/make-request.sh
+++ b/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/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd



More information about the pld-cvs-commit mailing list