From 070ecf778aace69f976ff56a9a0aa1fad2eeaaeb Mon Sep 17 00:00:00 2001 From: root Date: Fri, 17 Nov 2023 10:55:31 -0600 Subject: [PATCH] errors out if no env file is found --- scripts/create_password.sh | 1 + scripts/setup.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/create_password.sh b/scripts/create_password.sh index 6dce3d2..1c852eb 100755 --- a/scripts/create_password.sh +++ b/scripts/create_password.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e SCRIPT_DIR=$(readlink -f $(dirname "${BASH_SOURCE[0]}")) REPO_DIR=$(dirname $SCRIPT_DIR) diff --git a/scripts/setup.sh b/scripts/setup.sh index 4cf3e0b..198d930 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e SCRIPT_DIR=$(readlink -f $(dirname "${BASH_SOURCE[0]}")) REPO_DIR=$(dirname $SCRIPT_DIR)