Use set -e

This is annoying because a lot of times a command will "fail" even though
"failure" isn't an exceptional condition.
This commit is contained in:
Michael Wolf
2023-09-30 17:21:23 -06:00
parent 3d8ba44afd
commit 3793a11fbf

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
set -uo pipefail set -euo pipefail
IFS=$'\n\t' IFS=$'\n\t'
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"