From 9eff4b00feb5fca769a4a6f95c227707df040feb Mon Sep 17 00:00:00 2001 From: Trevor Brown Date: Sat, 11 May 2019 17:39:51 -0400 Subject: [PATCH] Add Bash strict mode to bin/asdf --- bin/asdf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/asdf b/bin/asdf index 850a5f5f..3efefa94 100755 --- a/bin/asdf +++ b/bin/asdf @@ -1,4 +1,6 @@ #!/usr/bin/env bash +set -o nounset -o pipefail -o errexit +IFS=$'\t\n' # Stricter IFS settings # shellcheck source=lib/utils.sh source "$(dirname "$(dirname "$0")")/lib/utils.sh"