From 04d8d7cb13286d763b0078c53e3671352c94b1c6 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 17 Aug 2016 21:36:50 +0200 Subject: scripts: run all scripts with -e Run all scripts with -e so they exit as soon as something breaks. That way the build stops at the first error, not some other error. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- packaging/macosx/sign | 2 +- packaging/macosx/subsurface.sh | 2 +- packaging/ubuntu/make-package.sh | 2 +- packaging/windows/mxe-based-build.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'packaging') diff --git a/packaging/macosx/sign b/packaging/macosx/sign index 8b1b0e853..6d41194eb 100644 --- a/packaging/macosx/sign +++ b/packaging/macosx/sign @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # Hash is 3A8CE62A483083EDEA5581A61E770EC1FA8BECE8 but it doesn't seem to # find the key by hash diff --git a/packaging/macosx/subsurface.sh b/packaging/macosx/subsurface.sh index d6738abb4..4920c1dca 100755 --- a/packaging/macosx/subsurface.sh +++ b/packaging/macosx/subsurface.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e if test "x$GTK_DEBUG_LAUNCHER" != x; then set -x diff --git a/packaging/ubuntu/make-package.sh b/packaging/ubuntu/make-package.sh index a825c5151..3e6f4de4e 100644 --- a/packaging/ubuntu/make-package.sh +++ b/packaging/ubuntu/make-package.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # start from the directory above the combined subsurface & subsurface/libdivecomputer directory # # in order to be able to make changes to the debian/* files without changing the source diff --git a/packaging/windows/mxe-based-build.sh b/packaging/windows/mxe-based-build.sh index ad1286c4a..a40de8151 100755 --- a/packaging/windows/mxe-based-build.sh +++ b/packaging/windows/mxe-based-build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # build Subsurface for Win32 # -- cgit v1.2.3-70-g09d2