Skip to content

Commit

Permalink
Merge pull request #28 from gasparpn/fix-entrypoint-force-when-false-…
Browse files Browse the repository at this point in the history
…is-declarative

Fix: Handle FORCE parameter in entrypoint when false value is used
  • Loading branch information
Goodsmileduck authored Jul 31, 2023
2 parents 2256e46 + 35df00b commit 06f256e
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 @@ -27,7 +27,7 @@ if [ -z "$SOURCE_DIR" ]; then
SOURCE_DIR="."
fi

if [ -z "$FORCE" ]; then
if [ -z "$FORCE" ] || [ "$FORCE" == "False" ] || [ "$FORCE" == "FALSE" ]; then
FORCE=""
elif [ "$FORCE" == "1" ] || [ "$FORCE" == "True" ] || [ "$FORCE" == "TRUE" ]; then
FORCE="-f"
Expand Down

0 comments on commit 06f256e

Please sign in to comment.