Skip to content
Snippets Groups Projects
Commit bd8e940f authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: set -e after sourcing files

parent 2b8e0c7c
No related branches found
No related tags found
No related merge requests found
......@@ -23,10 +23,11 @@
# ** end header
# To fail fast, but beware https://mywiki.wooledge.org/BashFAQ/105
set -e
source utils/load_settings.sh
set -e
function fail() {
echo "Some error occured, exiting."
exit 1
......
......@@ -25,10 +25,10 @@
#
#apply all available patches.
set -e
PATCHES="./patch*/patch.sh"
. $UTILSPATH/helpers.sh
set -e
for p in $PATCHES
do
$p "$@" --patch=$p
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment