Added bash flag to fail if any command in the script fails

This commit is contained in:
2024-03-09 21:34:09 -05:00
parent 9881567009
commit 00b83e6de2

View File

@@ -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"