summaryrefslogtreecommitdiff
path: root/util/lint
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2012-04-12 15:23:58 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2012-04-17 21:40:45 +0200
commit210fa302a3439002f78331e9b0d903bf02a6b6cf (patch)
treea45ce26745c8044cdee5bd87c4e2815169bec6a4 /util/lint
parent89823fde181608becd82c810bbf2894f547b4c9e (diff)
downloadcoreboot-210fa302a3439002f78331e9b0d903bf02a6b6cf.tar.xz
lint: tighten whitespace check some more
Don't test executable files nor object files, even if the former might render the test useless on win32 (executable bit isn't well defined there). Change-Id: Ifb6fc83243289d266f439316c14b6b009f8da5fc Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/890 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/lint')
-rwxr-xr-xutil/lint/lint-stable-003-whitespace2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace
index a5ca54091b..6869a44fd8 100755
--- a/util/lint/lint-stable-003-whitespace
+++ b/util/lint/lint-stable-003-whitespace
@@ -20,6 +20,7 @@
LC_ALL=C export LC_ALL
find src util -name .svn -type d -prune -o \
+ -perm +111 -prune -o \
-name .git -type d -prune -o \
-name README -prune -o \
-name LICENSE -prune -o \
@@ -27,6 +28,7 @@ find src util -name .svn -type d -prune -o \
-name COPYING -prune -o \
-name \*.txt -prune -o \
-name \*.exe -prune -o \
+ -name \*.o -prune -o \
-name microcode-\*.h -prune -o \
-name \*.?_shipped -prune -o \
-name \*.[18] -prune -o \