Set strict mode on the scripts

This commit is contained in:
Amritanshu Agrawal 2022-04-03 07:27:12 +05:30
parent d43aab0b23
commit 54c797d1a8
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -euo pipefail
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
cd "$parent_path" || exit

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
cd "$parent_path" || exit