Skip to content

Commit

Permalink
add "set -e" to DeDrift... to handle debug trap not being active insi…
Browse files Browse the repository at this point in the history
…de functions
  • Loading branch information
coalsont committed Jan 11, 2021
1 parent 63f37cf commit 716e9f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DeDriftAndResample/DeDriftAndResamplePipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,7 @@ if [ -z "${HCPPIPEDIR}" ]; then
fi

# Load function libraries
set -e # debug trap doesn't trigger in functions, temporary fix - needs to be *before* sourcing debug.shlib for detection of interactive shell to disable it
source "${HCPPIPEDIR}/global/scripts/debug.shlib" "$@" # Debugging functions; also sources log.shlib
source ${HCPPIPEDIR}/global/scripts/opts.shlib # Command line option functions

Expand Down

0 comments on commit 716e9f4

Please sign in to comment.