Ignore binary files when grepping
[releng/global-jjb.git] / .jjb-test / expected-xml / gerrit-ciman-jjb-verify
index 2a9896f..a34f9c0 100644 (file)
@@ -303,7 +303,7 @@ popd
 ##############################################################################
 echo "---> jjb-check-unicode.sh"
 
-if LC_ALL=C grep --exclude=docs/ -r '[^[:print:][:space:]]' jjb/; then
+if LC_ALL=C grep -I -r '[^[:print:][:space:]]' jjb/; then
     echo "Found files containing non-ascii characters."
     exit 1
 fi