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 "----------------------------------"