From 00b83e6de2496fa0d34daf9bd473b790531da24b Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Sat, 9 Mar 2024 21:34:09 -0500 Subject: [PATCH] Added bash flag to fail if any command in the script fails --- create_release_mingw.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/create_release_mingw.sh b/create_release_mingw.sh index d063996..b552b72 100644 --- a/create_release_mingw.sh +++ b/create_release_mingw.sh @@ -2,6 +2,7 @@ # This script copies required DLLs, and the application itself into a folder called 'release'. It only runs on MinGW. +set -o errexit # Stop executing when a command fails BASE_DIR=$(dirname $0) REL_DIR="$BASE_DIR/release/dist"