From 021c1084cbfd3f3bac9faabbf77aa946a1a907ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Fri, 16 Aug 2019 13:57:49 +0200 Subject: [PATCH] Make build scripts fail if something goes wrong --- compileOSX.sh | 1 + releaseOSX.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/compileOSX.sh b/compileOSX.sh index e24abb22..9a5f5d8a 100755 --- a/compileOSX.sh +++ b/compileOSX.sh @@ -1,4 +1,5 @@ #! /bin/bash +set -e VERSION=${1:-"9.5.0"} diff --git a/releaseOSX.sh b/releaseOSX.sh index 22251ee0..8d5cdadf 100755 --- a/releaseOSX.sh +++ b/releaseOSX.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e hash macdeployqt 2>/dev/null || { echo >&2 "macdeployqt command not available. Please add the bin subfolder of your Qt installation to the PATH environment variable."; exit 1; }