From 40b8cfa9c2fe63080090018fbee984be4d8b752d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Pinkava?= Date: Fri, 24 May 2024 08:31:52 +0200 Subject: [PATCH] auto_rx/build.sh: exit immediatelly on error This ensures script will not continue to build when error accures. Continuing the build after some part fails only brings more errors and makes the output harder to understand. --- auto_rx/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auto_rx/build.sh b/auto_rx/build.sh index 84e6ac6..817030f 100755 --- a/auto_rx/build.sh +++ b/auto_rx/build.sh @@ -2,6 +2,8 @@ # # Auto Sonde Decoder build script. +set -e + # Get the auto-rx version. AUTO_RX_VERSION="\"$(python3 -m autorx.version 2>/dev/null || python -m autorx.version)\""