diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-02-04 06:04:10 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-02-07 10:24:04 -0300 |
commit | 3c86526b812120f756ecfbebaebea22b5ff5e665 (patch) | |
tree | 6176c2c5ce533001aa5f865021fe7bc397020a41 /platform/rpm/mkrpm.sh | |
parent | build: mkrpm.sh: remove --quiet from rpmbuild (diff) | |
download | firejail-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/rpm/mkrpm.sh')
-rwxr-xr-x | platform/rpm/mkrpm.sh | 2 |
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 | ||
11 | set -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 | ||