1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-05-28 13:18:08 +02:00

(sc_changelog): Specify find's `-maxdepth 2'

predicate before `-name ChangeLog' to avoid a harmless warning
from find-4.2.10.
This commit is contained in:
Jim Meyering
2005-01-06 08:12:28 +00:00
parent 94ca29d7d7
commit d1e65bfb48
+1 -1
View File
@@ -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; } || :