summaryrefslogtreecommitdiff
path: root/util/lint/lint-stable-003-whitespace
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-11-23 22:13:02 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-11-25 23:47:43 +0100
commitbcc3a87c7e30d5a3f4211edc8d73d5db691c8ae0 (patch)
tree24a018778d47499e384a945aced0499caf089019 /util/lint/lint-stable-003-whitespace
parent609d22ff1b6b54aa2fda87a10089bb68fb565d48 (diff)
downloadcoreboot-bcc3a87c7e30d5a3f4211edc8d73d5db691c8ae0.tar.xz
lint-stable: Ignore .bin files for whitespace check.
.bin is the most convenient format for storing SPDs and since it's not text format, whitespace check is useless and gives false positives. Change-Id: I8a7569eac8a1dfbffabe166a38e4dd3e895fdef1 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/7567 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util/lint/lint-stable-003-whitespace')
-rwxr-xr-xutil/lint/lint-stable-003-whitespace2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace
index 4c0a5fdb55..22c5c3c013 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/|\<COPYING\>|\<LICENSE\>|\<README\>|_shipped$|\.patch$)"` | \
+grep -l "[[:space:]][[:space:]]*$" `git ls-files src util |egrep -v "(^3rdparty|^src/vendorcode/|^util/kconfig/|\<COPYING\>|\<LICENSE\>|\<README\>|_shipped$|\.patch|\.bin$)"` | \
sed -e "s,^.*$,File & has lines ending with whitespace.,"