Skip to content

Commit

Permalink
Fixed bug with if RUN_DIR not set due to -u flag
Browse files Browse the repository at this point in the history
  • Loading branch information
adevine authored Jul 1, 2020
1 parent 93818be commit a81289e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eu

if [ "${RUN_DIR}" ]; then
if [ -n "${RUN_DIR:-}" ]; then
cd ${RUN_DIR}
echo "Running git-crypt command from ${RUN_DIR}"
fi
Expand Down

0 comments on commit a81289e

Please sign in to comment.