From 757ba884366fa1fd28870fd97958ed54c8afd1e9 Mon Sep 17 00:00:00 2001 From: Patrik Lundin Date: Wed, 5 Feb 2025 20:39:41 +0100 Subject: [PATCH] Add empty default for val as well Probably better than referencing possible unset vars --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index cbba054..37c7bae 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,6 +9,7 @@ if [ -n "$INPUT_WORKDIR" ]; then fi context_flag="" +context_flag_val="" if [ -n "$INPUT_CONTEXT" ]; then context_flag="--context" context_flag_val="$INPUT_CONTEXT"