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

This commit is contained in:
Reece H. Dunn
2020-01-09 18:50:14 +00:00
parent 5feff569cc
commit 4e49ac8ee3
+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:"