Skip to content

Commit

Permalink
fix: bootstrap detecting secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurice Faber committed Nov 15, 2020
1 parent 90827a9 commit 7b1f498
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ set -eu
ENV_DIR=${ENV_DIR:-./env}
. bin/common.sh

. $ENV_DIR/.secrets
if [ -f "$ENV_DIR/.secrets" ]; then
source $ENV_DIR/.secrets
else
touch $ENV_DIR/.secrets
fi

has_otomi='false'
skip_demo_files=${1-'false'}
[ -f $ENV_DIR/bin/otomi ] && has_otomi='true'
Expand Down

0 comments on commit 7b1f498

Please sign in to comment.