From: Jim Meyering Date: Thu, 6 Jan 2005 08:12:28 +0000 (+0000) Subject: (sc_changelog): Specify find's `-maxdepth 2' X-Git-Tag: v5.3.0~23 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d1e65bfb48ca17c8e98f0fb41789be0f6f800f49;p=thirdparty%2Fcoreutils.git (sc_changelog): Specify find's `-maxdepth 2' predicate before `-name ChangeLog' to avoid a harmless warning from find-4.2.10. --- diff --git a/Makefile.maint b/Makefile.maint index 46ad7b8fe6..61a084b040 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; } || :