1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-08-13 16:53:48 -04:00

for #1235: Use set -euo pipefail instead of set -e

As per @horazont's feedback: `-u` shouts at you if you use an undefined variable (very useful to catch typos)
and `-o pipefail` improves error handling by also failing if any of the commands in a pipe fail.
This commit is contained in:
Guus der Kinderen 2022-11-06 09:29:18 +01:00
parent a7149be8c0
commit d65a5b4c2f

View File

@ -12,7 +12,7 @@
#
# requires: bash, xmllint
set -e
set -euo pipefail
VALIDATION_RESULT=0