diff options
author | josch <j.schauer@email.de> | 2015-04-22 15:12:10 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-04-22 15:14:54 +0200 |
commit | 233d8a3bad5e73bb72997484c6ae7c07cef3f0ad (patch) | |
tree | a9f08e82d0f32c4a76a3fc1fed063f4ee21372a8 /bin | |
parent | ce47103ce11dfea1559a513a1610c467f7e8f6cc (diff) | |
download | jenkins.debian.net-233d8a3bad5e73bb72997484c6ae7c07cef3f0ad.tar.xz |
bin/find_dpkg_trigger_cycles.sh: set -o pipefail and set -e
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find_dpkg_trigger_cycles.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/find_dpkg_trigger_cycles.sh b/bin/find_dpkg_trigger_cycles.sh index 36460dc8..7b83ecce 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" |