1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: replace set -e by set -o errexit in shell scripts

This commit is contained in:
Sébastien Helleu
2023-03-23 22:01:48 +01:00
parent 29ac28f94a
commit dc8f78163f
4 changed files with 4 additions and 8 deletions
+1 -2
View File
@@ -53,8 +53,7 @@
# (numeric or "auto" for dpkg >= 1.17.10)
#
# exit on any error
set -e
set -o errexit
# default values for options from environment variables
DEFAULT_PACKAGER_NAME="Sébastien Helleu"
+1 -2
View File
@@ -31,8 +31,7 @@
# This script is used to build WeeChat in CI environment.
#
# exit on any error
set -e
set -o errexit
BUILDDIR="build-tmp-$$"
+1 -2
View File
@@ -24,8 +24,7 @@
# - Python scripts: flake8 + pylint + bandit
#
# exit on any error
set -e
set -o errexit
# check git repository
ROOT_DIR=$(git rev-parse --show-toplevel)
+1 -2
View File
@@ -33,8 +33,7 @@
# defaults to current directory
#
# exit on any error
set -e
set -o errexit
error ()
{