From 11b6ab6492cebf215bbd95ff69fbb2652c99e8c9 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 5 Feb 2015 23:38:45 +0100 Subject: lint: exclude nvidia submodule from file list From git's point of view submodules are a weird third thing between file and directory. Avoid trying to apply file handling on a directory. Change-Id: Ibbc9c28e1657d96413c5fb08705d30e25171254d Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/8372 Reviewed-by: Paul Menzel Reviewed-by: Alexandru Gagniuc Tested-by: build bot (Jenkins) --- util/lint/lint-stable-003-whitespace | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/lint') diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace index 22c5c3c013..47853baa6b 100755 --- a/util/lint/lint-stable-003-whitespace +++ b/util/lint/lint-stable-003-whitespace @@ -19,6 +19,6 @@ # DESCR: Check for superfluous whitespace in the tree LC_ALL=C export LC_ALL -grep -l "[[:space:]][[:space:]]*$" `git ls-files src util |egrep -v "(^3rdparty|^src/vendorcode/|^util/kconfig/|\|\|\|_shipped$|\.patch|\.bin$)"` | \ +grep -l "[[:space:]][[:space:]]*$" `git ls-files src util |egrep -v "(^3rdparty|^src/vendorcode/|^util/kconfig/|^util/nvidia/cbootimage$|\|\|\|_shipped$|\.patch|\.bin$)"` | \ sed -e "s,^.*$,File & has lines ending with whitespace.," -- cgit v1.2.3