docs.sh: Fail on all errors, includding undefined variables and failures in piped commands

This commit is contained in:
Kamil Śliwak 2022-04-08 20:40:52 +02:00
parent efd0024853
commit 23e77e9a84

View File

@ -26,7 +26,7 @@
# (c) 2016 solidity contributors. # (c) 2016 solidity contributors.
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
set -e set -euo pipefail
script_dir="$(dirname "$0")" script_dir="$(dirname "$0")"