Add empty default for val as well
Probably better than referencing possible unset vars
This commit is contained in:
parent
d4bbe84196
commit
757ba88436
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ if [ -n "$INPUT_WORKDIR" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
context_flag=""
|
context_flag=""
|
||||||
|
context_flag_val=""
|
||||||
if [ -n "$INPUT_CONTEXT" ]; then
|
if [ -n "$INPUT_CONTEXT" ]; then
|
||||||
context_flag="--context"
|
context_flag="--context"
|
||||||
context_flag_val="$INPUT_CONTEXT"
|
context_flag_val="$INPUT_CONTEXT"
|
||||||
|
|
Loading…
Add table
Reference in a new issue