summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-01-06 08:12:28 +0000
committerJim Meyering <jim@meyering.net>2005-01-06 08:12:28 +0000
commitd1e65bfb48ca17c8e98f0fb41789be0f6f800f49 (patch)
treec68b0e7cd28323aca9008a2b79de7e0613064d66
parent94ca29d7d717309e5df13be1ae8d118022255f69 (diff)
downloadcoreutils-d1e65bfb48ca17c8e98f0fb41789be0f6f800f49.tar.xz
(sc_changelog): Specify find's `-maxdepth 2'
predicate before `-name ChangeLog' to avoid a harmless warning from find-4.2.10.
-rw-r--r--Makefile.maint2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index 46ad7b8fe..61a084b04 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -151,7 +151,7 @@ sc_file_system:
# Each nonempty line must start with a year number, or a TAB.
sc_changelog:
- @grep '^[^12 ]' $$(find . -name ChangeLog -maxdepth 2) && \
+ @grep '^[^12 ]' $$(find . -maxdepth 2 -name ChangeLog) && \
{ echo '$(ME): found unexpected prefix in a ChangeLog' 1>&2; \
exit 1; } || :