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:
+1
-1
@@ -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; } || :
|
||||
|
||||
|
||||
Reference in New Issue
Block a user