summaryrefslogtreecommitdiff
path: root/util/lint/lint-stable-003-whitespace
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-09-13 08:03:52 +0300
committerPatrick Georgi <patrick@georgi-clan.de>2013-09-17 21:03:28 +0200
commit370ff4af113e698aace3adfa393c76cfc9016d38 (patch)
tree5e6001c3a6bcbb3966b1e819385bf03bf3052bd4 /util/lint/lint-stable-003-whitespace
parent73cffd69993ed4fbad5237f6ad093da790ed85ae (diff)
lint whitespace: Fix rule to recurse into subdirectories
The rule "-perm +111 -prune" matched any searchable directory and did not recursively find files in them. The use of "+mode" for -perm is deprecated. Change-Id: I1b43f89ee9ab37928e56104b0f07241ff84b84c0 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3921 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
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 6869a44fd8..fceacf7393 100755
--- a/util/lint/lint-stable-003-whitespace
+++ b/util/lint/lint-stable-003-whitespace
@@ -20,7 +20,7 @@
LC_ALL=C export LC_ALL
find src util -name .svn -type d -prune -o \
- -perm +111 -prune -o \
+ -type f -perm /111 -prune -o \
-name .git -type d -prune -o \
-name README -prune -o \
-name LICENSE -prune -o \