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>
This commit is contained in:
Kyösti Mälkki 2013-09-13 08:03:52 +03:00 committed by Patrick Georgi
parent 73cffd6999
commit 370ff4af11
1 changed files with 1 additions and 1 deletions

View File

@ -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 \