More strict error handling in the Bash script.
This commit is contained in:
parent
6f156be298
commit
1149dc6d25
2
build.sh
2
build.sh
@ -5,7 +5,7 @@
|
|||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
|
|
||||||
set -e
|
set -eo pipefail
|
||||||
trap 'read -p "Press any key..." x || true' EXIT
|
trap 'read -p "Press any key..." x || true' EXIT
|
||||||
|
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user