Fix update checker code
This commit is contained in:
parent
03df509a43
commit
7c60ac497a
1 changed files with 3 additions and 3 deletions
|
@ -20,8 +20,8 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$COMMIT" == "$LATEST_COMMIT" ] || [ -z "$LATEST_COMMIT" ]; then
|
||||
UPDATE=false
|
||||
if [ "${COMMIT}" == "${LATEST_COMMIT}" ] || [ -z "${LATEST_COMMIT}" ]; then
|
||||
UPDATE=
|
||||
else
|
||||
UPDATE=true
|
||||
fi
|
||||
|
@ -41,6 +41,6 @@ if [ -z "${SCRIPTED}" ]; then
|
|||
fi
|
||||
else
|
||||
if [ -n "${UPDATE}" ]; then
|
||||
echo "$LATEST_COMMIT_MESSAGE"
|
||||
echo "${LATEST_COMMIT_MESSAGE}"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue