mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03: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 parent
94ca29d7d7
commit
d1e65bfb48
1 file changed
+1
-1
+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