[Qa-jenkins-scm] [jenkins.debian.net] 01/02: bin/find_dpkg_trigger_cycles.sh: set -o pipefail and set -e

Holger Levsen holger at moszumanska.debian.org
Wed Apr 22 13:16:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 233d8a3bad5e73bb72997484c6ae7c07cef3f0ad
Author: josch <j.schauer at email.de>
Date:   Wed Apr 22 15:12:10 2015 +0200

    bin/find_dpkg_trigger_cycles.sh: set -o pipefail and set -e
---
 bin/find_dpkg_trigger_cycles.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/find_dpkg_trigger_cycles.sh b/bin/find_dpkg_trigger_cycles.sh
index 36460dc..7b83ecc 100755
--- a/bin/find_dpkg_trigger_cycles.sh
+++ b/bin/find_dpkg_trigger_cycles.sh
@@ -100,6 +100,10 @@ DEBUG=false
 . /srv/jenkins/bin/common-functions.sh
 common_init "$@"
 
+# fail early
+set -o pipefail
+set -e
+
 ARCH="amd64"
 DIST="$1"
 DIRECTORY="`pwd`/debian-$DIST-$ARCH"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list