aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/example
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-12-03 18:50:25 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2022-12-03 22:23:09 +0100
commitd71d2ddace492f1b20716373879e5f931c87b78c (patch)
treebfd64b047f4c139c53849ff1c873d05253c9f2fd /test/integration/example
parentdocker: factor out cron stuff into schedule.sh (diff)
downloadcgitize-d71d2ddace492f1b20716373879e5f931c87b78c.tar.gz
cgitize-d71d2ddace492f1b20716373879e5f931c87b78c.zip
fix preludes in bash scripts
Diffstat (limited to '')
-rwxr-xr-xtest/integration/example/test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/example/test.sh b/test/integration/example/test.sh
index e22cec1..9c8c053 100755
--- a/test/integration/example/test.sh
+++ b/test/integration/example/test.sh
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
+shopt -s inherit_errexit lastpipe
script_dir="$( dirname -- "${BASH_SOURCE[0]}" )"
script_dir="$( cd -- "$script_dir" && pwd )"