Skip to content

Commit 9258dcb

Browse files
authored
Update entrypoint.sh
1 parent 18945b8 commit 9258dcb

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

entrypoint.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,29 @@ else
1010
pint_install_command="${pint_install_command/:PINT_VERSION/}"
1111
fi
1212

13-
command_string=("pint")
13+
pint_command=("pint")
1414

1515
if [[ "${INPUT_TESTMODE}" ]]; then
16-
command_string+=" --test"
16+
pint_command+=" --test"
1717
fi
1818

1919
if [[ "${INPUT_VERBOSEMODE}" ]]; then
20-
command_string+=" -v"
20+
pint_command+=" -v"
2121
fi
2222

2323
if [[ "${INPUT_CONFIGPATH}" ]]; then
24-
command_string+=" --config ${INPUT_CONFIGPATH}"
24+
pint_command+=" --config ${INPUT_CONFIGPATH}"
2525
fi
2626

2727
if [[ "${INPUT_PRESET}" ]]; then
28-
command_string+=" --preset ${INPUT_PRESET}"
28+
pint_command+=" --preset ${INPUT_PRESET}"
2929
fi
3030

31+
echo "Running Command: " "${pint_install_command[@]}"
32+
3133
${pint_install_command[@]}
3234
PATH="/tmp/vendor/bin:${PATH}"
3335

34-
echo "Running Command: " "${command_string[@]}"
36+
echo "Running Command: " "${pint_command[@]}"
3537

36-
${command_string[@]}
38+
${pint_command[@]}

0 commit comments

Comments
 (0)