summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2016-08-17 21:36:50 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-08-17 21:44:31 -0700
commit04d8d7cb13286d763b0078c53e3671352c94b1c6 (patch)
tree2c3ea3e81a7ab069cd84a594efee3192cf1d2550 /packaging
parent925fd8d4c1e18ecc5d4826fc70c16635f6fbf048 (diff)
downloadsubsurface-04d8d7cb13286d763b0078c53e3671352c94b1c6.tar.gz
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 <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/macosx/sign2
-rwxr-xr-xpackaging/macosx/subsurface.sh2
-rw-r--r--packaging/ubuntu/make-package.sh2
-rwxr-xr-xpackaging/windows/mxe-based-build.sh2
4 files changed, 4 insertions, 4 deletions
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
#