summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinr@coreboot.org>2018-09-02 18:49:12 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-01-24 13:51:51 +0000
commit3748aae7d6118fed531fe94b94977760b164821b (patch)
tree693f39cedea32058cd4c70632f305642a84f98ac
parent533bc0a7ef345f2f3791b6fa76d9e15a1b6b0956 (diff)
downloadcoreboot-3748aae7d6118fed531fe94b94977760b164821b.tar.xz
util/lint: update non-ascii linter checking rules
- Check non-external payloads - Remove directories that aren't in the coreboot git repo. - Remove non-phrase rule from list of excluded phrases Change-Id: I9e056e8b43af567f102dfc0db76f60328aa1ed04 Signed-off-by: Martin Roth <martinr@coreboot.org> Reviewed-on: https://review.coreboot.org/c/28449 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rwxr-xr-xutil/lint/lint-stable-016-non-ascii4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/lint/lint-stable-016-non-ascii b/util/lint/lint-stable-016-non-ascii
index 3c229009ca..fbb830d3be 100755
--- a/util/lint/lint-stable-016-non-ascii
+++ b/util/lint/lint-stable-016-non-ascii
@@ -17,9 +17,9 @@
LC_ALL=C export LC_ALL
INCLUDED_FILES='\.[chsS]$\|\.asl$\|\.cb$\|\.inc$\|Kconfig\|\.ld$|\.txt\|\.hex'
-EXCLUDED_DIRS='^payloads/\|^src/vendorcode/\|^Documentation/\|^build/\|^3rdparty/\|^\.git/\|^coreboot-builds/\|^util/nvidia/cbootimage'
+EXCLUDED_DIRS='^payloads/external/\|^src/vendorcode/\|^Documentation/'
EXCLUDED_FILES='to-wiki/towiki\.sh$\|vga/vga_font\|video/font\|PDCurses.*x11'
-EXCLUDED_PHRASES='Copyright\|Ported to\|Intel®\|°C\|°F\|Athlon™\|Copyright.*©\|A-Za-zÀ-ÿ'
+EXCLUDED_PHRASES='Copyright\|Ported to\|Intel®\|°C\|°F\|Athlon™\|Copyright.*©'
# Exit if git isn't present or the code isn't in a git repo
if [ -z "$(command -v git)" ] || \