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:
parent
73cffd6999
commit
370ff4af11
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
LC_ALL=C export LC_ALL
|
LC_ALL=C export LC_ALL
|
||||||
find src util -name .svn -type d -prune -o \
|
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 .git -type d -prune -o \
|
||||||
-name README -prune -o \
|
-name README -prune -o \
|
||||||
-name LICENSE -prune -o \
|
-name LICENSE -prune -o \
|
||||||
|
|
Loading…
Reference in New Issue