From ec57979bf8b917ecded8180a97f8c7bc3132649e Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Mon, 23 Dec 2019 13:14:06 -0500 Subject: [PATCH] comply with shellcheck, use -gt instead --- bin/steps/python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/steps/python b/bin/steps/python index a2971f1..8790f61 100755 --- a/bin/steps/python +++ b/bin/steps/python @@ -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