[coreboot-gerrit] New patch to review for coreboot: e4ed06c lint whitespace: Fix rule to recurse into subdirectories
Kyösti Mälkki (kyosti.malkki@gmail.com)
gerrit at coreboot.org
Fri Sep 13 07:30:57 CEST 2013
Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3921
-gerrit
commit e4ed06ca70b93ff5713a172956414993c1e83c87
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date: Fri Sep 13 08:03:52 2013 +0300
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 at gmail.com>
---
util/lint/lint-stable-003-whitespace | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace
index 6869a44..fceacf7 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 \
More information about the coreboot-gerrit
mailing list