|
|
|
@ -66,7 +66,7 @@ while (($#)); do
|
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
|
echo "A problem occurred while trying to fetch the latest revision from github."
|
|
|
|
|
exit 99
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
if [[ -z $(git log HEAD --pretty=format:"%H" | grep "${LATEST_REV}") ]]; then
|
|
|
|
|
echo "Updated code is available."
|
|
|
|
|
exit 0
|
|
|
|
|