From 43be77db3185591a6bd04b36cd0135634816d82d Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 22 Jul 2017 21:49:21 -0600 Subject: [PATCH] util/lint: Update final newline check - Exclude .png and .patch files. - Turn into a lint-stable test. Change-Id: I4a5c77d7856bc5017ba441d458378b4837c1c7d5 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20706 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- .../{lint-015-final-newlines => lint-stable-015-final-newlines} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename util/lint/{lint-015-final-newlines => lint-stable-015-final-newlines} (95%) diff --git a/util/lint/lint-015-final-newlines b/util/lint/lint-stable-015-final-newlines similarity index 95% rename from util/lint/lint-015-final-newlines rename to util/lint/lint-stable-015-final-newlines index f80912c4cf..bfaa817e1f 100755 --- a/util/lint/lint-015-final-newlines +++ b/util/lint/lint-stable-015-final-newlines @@ -17,7 +17,7 @@ LC_ALL=C export LC_ALL EXCLUDED_DIRS='src/vendorcode/\|util/romcc/\|cbfstool/lzma/\|cbfstool/lz4/\|Documentation/\|build/\|3rdparty/\|\.git/\|coreboot-builds/\|util/nvidia/cbootimage/' -EXCLUDED_FILES='\.jpg$\|\.cksum$\|\.bin$\|\.hex$\|\.ico$\|\.o$\|\.bz2$\|\.xz$\|^.tmpconfig\|\.pyc$\|_shipped$\|sha256$' +EXCLUDED_FILES='\.jpg$\|\.cksum$\|\.bin$\|\.hex$\|\.ico$\|\.o$\|\.bz2$\|\.xz$\|^.tmpconfig\|\.pyc$\|_shipped$\|sha256$\|\.png$\|\.patch$' # Use git ls-files if the code is in a git repo, otherwise use find. if [ -n "$(command -v git)" ] && [ -d .git ]; then