comply with shellcheck, use -gt instead

This commit is contained in:
Casey Faist
2019-12-23 13:14:06 -05:00
parent 0057d19082
commit ec57979bf8
+1 -1
View File
@@ -52,7 +52,7 @@ if curl --output /dev/null --silent --head --fail "$VENDORED_PYTHON"; then
fi
if [[ "$PYTHON_VERSION" == $PY27* ]]; then
# security update note
if [[ $(date "+%Y") > "2019" ]]; then
if [[ "$(date "+%Y")" -gt "2019" ]]; then
puts-warn "$PYTHON_2_EOL_UPDATE"
echo " Learn More: https://devcenter.heroku.com/articles/python-2-7-eol-faq"
fi