From 3c86526b812120f756ecfbebaebea22b5ff5e665 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sun, 4 Feb 2024 06:04:10 -0300 Subject: build: mkrpm.sh: use set -e To abort the build if any error occurs. See also commit 7d9db8355 ("fail build if any step in the script fails", 2019-06-21). --- platform/rpm/mkrpm.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform') diff --git a/platform/rpm/mkrpm.sh b/platform/rpm/mkrpm.sh index a8e7e55ab..da0c19c18 100755 --- a/platform/rpm/mkrpm.sh +++ b/platform/rpm/mkrpm.sh @@ -8,6 +8,8 @@ # Builds rpms in a temporary directory then places the result in the # current working directory. +set -e + # shellcheck source=config.sh . "$(dirname "$0")/../../config.sh" || exit 1 -- cgit v1.2.3-54-g00ecf