From 3748aae7d6118fed531fe94b94977760b164821b Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 2 Sep 2018 18:49:12 -0600 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/28449 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Stefan Reinauer --- util/lint/lint-stable-016-non-ascii | 4 ++-- 1 file 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)" ] || \