fixing check script for lineendings

This commit is contained in:
Filip Bucek 2019-11-08 11:14:59 +01:00
parent c24bfa5296
commit 27a533d52b
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@
stages:
- build
- test
- quality
# ########
# Build

View File

@ -10,7 +10,7 @@ cd $SOURCE_DIR
info "Checking line ending"
RESULT=$( find . -not -type d -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 "----------------------------------"