Skip to content

Commit 1534dff

Browse files
authored
Merge pull request #25 from rieschl/fix/shell-errors
fix: fix some typos in entrypoint shell script
2 parents a968871 + 8ce3e86 commit 1534dff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@ echo "Received job: ${JOB}"
112112

113113
COMMAND=$(echo "${JOB}" | jq -r '.command')
114114

115-
if [[ "${$COMMAND}" == ""];then
115+
if [[ "${COMMAND}" == "" ]];then
116116
echo "Command is empty; nothing to run"
117117
exit 0
118118
fi
119119

120120
PHP=$(echo "${JOB}" | jq -r '.php')
121-
if [[ "${COMMAND}" == "" ]];then
121+
if [[ "${PHP}" == "" ]];then
122122
echo "Missing PHP version in job"
123123
help
124124
exit 1

0 commit comments

Comments
 (0)