From 394c5a0dd1ecccaf379a592995dcd69f3c88961b Mon Sep 17 00:00:00 2001 From: Maximilian Brune Date: Mon, 12 Aug 2024 01:58:31 +0200 Subject: util/lint/lint-final-newlines: Supply dirs in row This just orders the EXCLUDED_DIRS directories in a row based manner, since there are quite a few them now and it is arguably easier to read and to add new directories if they are written in a row based fashion. Signed-off-by: Maximilian Brune Change-Id: I802aece355bba4900e71824d802c4b2438726e84 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83872 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- util/lint/lint-extended-015-final-newlines | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/util/lint/lint-extended-015-final-newlines b/util/lint/lint-extended-015-final-newlines index 4ea4536124..18ca75b7e6 100755 --- a/util/lint/lint-extended-015-final-newlines +++ b/util/lint/lint-extended-015-final-newlines @@ -14,7 +14,17 @@ LINTDIR="$( PIDS="" INCLUDED_DIRS_AND_FILES='util/* src/* payloads/* configs/* Makefile *.inc' -EXCLUDED_DIRS='src/vendorcode/\|cbfstool/lzma/\|cbfstool/lz4/\|Documentation/\|build/\|3rdparty/\|\.git/\|coreboot-builds/\|util/nvidia/cbootimage/\|^util/goswid/vendor' +EXCLUDED_DIRS="\ +src/vendorcode/\|\ +cbfstool/lzma/\|\ +cbfstool/lz4/\|\ +Documentation/\|\ +build/\|\ +3rdparty/\|\ +\.git/\|\ +coreboot-builds/\|\ +util/nvidia/cbootimage/\|\ +^util/goswid/vendor" EXCLUDED_FILES='\.gif$\|\.jpg$\|\.cksum$\|\.bin$\|\.vbt$\|\.hex$\|\.ico$\|\.o$\|\.bz2$\|\.xz$\|^.tmpconfig\|\.pyc$\|_shipped$\|sha256$\|\.png$\|\.patch$\|\.apcb$' HAVE_FILE=$(command -v file 1>/dev/null 2>&1; echo $?) -- cgit v1.2.3