From f19f3833f3eca0ab0e262c3ec975fe2c9909148b Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Thu, 12 May 2022 19:38:18 -0400 Subject: [PATCH] Windows build: Exit on simple error --- src/bin/buildForWindows.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/buildForWindows.sh b/src/bin/buildForWindows.sh index 5fd2a4bde..939551df1 100755 --- a/src/bin/buildForWindows.sh +++ b/src/bin/buildForWindows.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -e + pecho() { printf %s\\n "$*"; } log() { pecho "$@"; } error() { log "ERROR: $@" >&2; }