Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Ignore false-neg ShellCheck SC2154 unused vars
[releng/global-jjb.git]
/
shell
/
jjb-check-unicode.sh
diff --git
a/shell/jjb-check-unicode.sh
b/shell/jjb-check-unicode.sh
index
e1d28a0
..
284d6db
100644
(file)
--- a/
shell/jjb-check-unicode.sh
+++ b/
shell/jjb-check-unicode.sh
@@
-10,7
+10,7
@@
##############################################################################
echo "---> jjb-check-unicode.sh"
##############################################################################
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
echo "Found files containing non-ascii characters."
exit 1
fi