[packages/rpm-build-tools/merge-pld-builder-client: 66/2675] - simplify

glen glen at pld-linux.org
Mon Dec 19 21:54:28 CET 2016


commit 68971a8209ee1c344fc9b4d0eb9158ab52302a0e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Mar 2 11:57:28 2009 +0000

    - simplify
    
    Changed files:
        client/kde4send2builders.sh -> 1.10

 kde4send2builders.sh | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/kde4send2builders.sh b/kde4send2builders.sh
index 8d5bcea..c645e81 100644
--- a/kde4send2builders.sh
+++ b/kde4send2builders.sh
@@ -124,9 +124,6 @@ else
 	SENDPRIO=$specs
 fi
 
-if [ -z $BUILDER ]; then
-	exec ./make-request.sh -d $DIST -r $SENDPRIO
-	exit 0
-fi
-
-exec ./make-request.sh -d $DIST -b $BUILDER -r $SENDPRIO
+exec ./make-request.sh -d $DIST ${BUILDER:+-b $BUILDER} -r $SENDPRIO
+echo >&2 "Failed to execute ./make-request.sh!"
+exit 1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd



More information about the pld-cvs-commit mailing list