Don't check the .git folder for BOM issues.

This commit is contained in:
Reece H. Dunn
2020-02-19 08:40:49 +02:00
committed by Valdis Vitolins
parent 6926dfba72
commit 16327703f4
+1 -1
View File
@@ -8,7 +8,7 @@ echo -n "testing for Byte Order Marks in source files ... "
# TODO checking for other encodings (e.g. UTF-16, UTF-32, UTF-7) needs more elaborate search,
# otherwise it shows many false positives
egrep -rlI $'\xEF\xBB\xBF' . | tee tests/bom.check >/dev/null # UTF-8
egrep -rlI $'\xEF\xBB\xBF' * | tee tests/bom.check >/dev/null # UTF-8
if [ -s tests/bom.check ] ; then
echo "found:"