From 3b75d22913c17fa256f49d601fff445ed5cdf566 Mon Sep 17 00:00:00 2001 From: Gaurav Nelson Date: Fri, 7 Aug 2020 12:21:48 +1000 Subject: [PATCH] Fixes mmodified files check only bug --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 91db2cb..3bb7d04 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -81,7 +81,7 @@ if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then for i in "${FILE_ARRAY[@]}" do - if [ "${i##*.}" = "${FILE_EXTENSION}" ]; then + if [ "${i##*.}" == "${FILE_EXTENSION#.}" ]; then FIND_CALL+=("${i}") COMMAND="${FIND_CALL[*]}" $COMMAND &>> error.txt || true