From b6950b9bfe35d10d4fc65e42f22086796ac85142 Mon Sep 17 00:00:00 2001 From: Filip Bucek Date: Fri, 8 Nov 2019 11:26:09 +0100 Subject: [PATCH] fix lineending checks for .git --- scripts/check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check.sh b/scripts/check.sh index 646d1e1..7ed9d62 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -10,7 +10,7 @@ cd $SOURCE_DIR info "Checking line ending" -RESULT=$( find . -not -type d ! -path '.git' -exec file "{}" ";" | grep "ASCII text, with CRLF" | cat ) +RESULT=$( find . -not -type d ! -path '*.git/*' -exec file "{}" ";" | grep "ASCII text, with CRLF" | cat ) if [ ! -z "$RESULT" ]; then echo "----------------------------------"