pld-builder.new: client/rebuild-th-kernel.sh - set -e

glen glen at pld-linux.org
Sun Jun 10 22:44:04 CEST 2012


Author: glen                         Date: Sun Jun 10 20:44:04 2012 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
- set -e

---- Files affected:
pld-builder.new/client:
   rebuild-th-kernel.sh (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: pld-builder.new/client/rebuild-th-kernel.sh
diff -u pld-builder.new/client/rebuild-th-kernel.sh:1.14 pld-builder.new/client/rebuild-th-kernel.sh:1.15
--- pld-builder.new/client/rebuild-th-kernel.sh:1.14	Sun Jun 10 22:41:37 2012
+++ pld-builder.new/client/rebuild-th-kernel.sh	Sun Jun 10 22:43:59 2012
@@ -1,4 +1,5 @@
 #!/bin/sh
+set -e
 
 dir=$(cd "$(dirname "$0")"; pwd)
 rpmdir=$(rpm -E %_topdir)
@@ -74,7 +75,8 @@
 		for pkg in $pkgs_head; do
 			echo >&2 "Rebuilding $pkg..."
 			$rpmdir/builder -g $pkg -ns
-			$rpmdir/relup.sh -m "rebuild for $kernel" -ui $pkg/$pkg.spec && $dir/make-request.sh -r -d th $pkg.spec
+			$rpmdir/relup.sh -m "rebuild for $kernel" -ui $pkg/$pkg.spec
+			$dir/make-request.sh -r -d th $pkg.spec
 		done
 		;;
 	longterm)
@@ -84,7 +86,8 @@
 		for pkg in $pkgs_longterm; do
 			echo >&2 "Rebuilding $pkg..."
 			$rpmdir/builder -g $pkg -ns
-			$rpmdir/relup.sh -m "rebuild for $kernel" -ui $pkg/$pkg.spec && $dir/make-request.sh -r -d th --without kernel $pkg.spec
+			$rpmdir/relup.sh -m "rebuild for $kernel" -ui $pkg/$pkg.spec
+			$dir/make-request.sh -r -d th --without kernel $pkg.spec
 		done
 		specs=$(get_last_tags $pkgs_head $pkgs_longterm)
 		for pkg in $specs; do
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/pld-builder.new/client/rebuild-th-kernel.sh?r1=1.14&r2=1.15



More information about the pld-cvs-commit mailing list