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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$COMMIT" == "$LATEST_COMMIT" ] || [ -z "$LATEST_COMMIT" ]; then
|
if [ "${COMMIT}" == "${LATEST_COMMIT}" ] || [ -z "${LATEST_COMMIT}" ]; then
|
||||||
UPDATE=false
|
UPDATE=
|
||||||
else
|
else
|
||||||
UPDATE=true
|
UPDATE=true
|
||||||
fi
|
fi
|
||||||
|
@ -41,6 +41,6 @@ if [ -z "${SCRIPTED}" ]; then
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ -n "${UPDATE}" ]; then
|
if [ -n "${UPDATE}" ]; then
|
||||||
echo "$LATEST_COMMIT_MESSAGE"
|
echo "${LATEST_COMMIT_MESSAGE}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue