From f97c9c7392c7a1072e4b95bb70359a316d619e04 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Thu, 24 Oct 2024 15:59:40 +0900 Subject: [PATCH] mingw-build: Abort on error Make sure that MinGW toolchain build script exits on error. Signed-off-by: Stephanos Ioannidis --- mingw-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mingw-build.sh b/mingw-build.sh index 6c15ade..ad9d111 100755 --- a/mingw-build.sh +++ b/mingw-build.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -euo pipefail + BINUTILS_VERSION=2.42 GCC_VERSION=13.2.0 MINGW_VERSION=12.0.0