diff --git a/scripts/apply.sh b/scripts/apply.sh index fa6f4065..00631d2f 100755 --- a/scripts/apply.sh +++ b/scripts/apply.sh @@ -1,4 +1,7 @@ #!/bin/bash + +set -e + # get base dir regardless of execution location SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink diff --git a/scripts/upstream.sh b/scripts/upstream.sh index 2456865a..f864d078 100755 --- a/scripts/upstream.sh +++ b/scripts/upstream.sh @@ -1,4 +1,7 @@ #!/bin/bash + +set -e + # get base dir regardless of execution location SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink diff --git a/sportpaper b/sportpaper index 3ca117b5..1e46b0d4 100755 --- a/sportpaper +++ b/sportpaper @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + # get base dir regardless of execution location SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink