aboutsummaryrefslogtreecommitdiffstats
path: root/platform
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-02-04 06:04:10 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-02-07 10:24:04 -0300
commit3c86526b812120f756ecfbebaebea22b5ff5e665 (patch)
tree6176c2c5ce533001aa5f865021fe7bc397020a41 /platform
parentbuild: mkrpm.sh: remove --quiet from rpmbuild (diff)
downloadfirejail-3c86526b812120f756ecfbebaebea22b5ff5e665.tar.gz
firejail-3c86526b812120f756ecfbebaebea22b5ff5e665.tar.zst
firejail-3c86526b812120f756ecfbebaebea22b5ff5e665.zip
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).
Diffstat (limited to 'platform')
-rwxr-xr-xplatform/rpm/mkrpm.sh2
1 files changed, 2 insertions, 0 deletions
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 @@
8# Builds rpms in a temporary directory then places the result in the 8# Builds rpms in a temporary directory then places the result in the
9# current working directory. 9# current working directory.
10 10
11set -e
12
11# shellcheck source=config.sh 13# shellcheck source=config.sh
12. "$(dirname "$0")/../../config.sh" || exit 1 14. "$(dirname "$0")/../../config.sh" || exit 1
13 15