The non-ascii checker should not check the docs directory as that
directory does not contain jjb code.
Change-Id: I3ec988a308c67346f4ebe6cdd6e933a2f4637f5b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
##############################################################################
echo "---> jjb-check-unicode.sh"
-if LC_ALL=C grep -r '[^[:print:][:space:]]' jjb/; then
+if LC_ALL=C grep --exclude=docs/ -r '[^[:print:][:space:]]' jjb/; then
echo "Found files containing non-ascii characters."
exit 1
fi
##############################################################################
echo "---> jjb-check-unicode.sh"
-if LC_ALL=C grep -r '[^[:print:][:space:]]' jjb/; then
+if LC_ALL=C grep --exclude=docs/ -r '[^[:print:][:space:]]' jjb/; then
echo "Found files containing non-ascii characters."
exit 1
fi
##############################################################################
echo "---> jjb-check-unicode.sh"
-if LC_ALL=C grep -r '[^[:print:][:space:]]' jjb/; then
+if LC_ALL=C grep --exclude=docs/ -r '[^[:print:][:space:]]' jjb/; then
echo "Found files containing non-ascii characters."
exit 1
fi