mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-22 01:02:17 -05: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:
parent
a7149be8c0
commit
d65a5b4c2f
@ -12,7 +12,7 @@
|
|||||||
#
|
#
|
||||||
# requires: bash, xmllint
|
# requires: bash, xmllint
|
||||||
|
|
||||||
set -e
|
set -euo pipefail
|
||||||
|
|
||||||
VALIDATION_RESULT=0
|
VALIDATION_RESULT=0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user