Skip to content

Commit 95a3b3e

Browse files
TrottBethGriggs
authored andcommitted
build: replace -not with ! in find
Replace `find -not` usage with `find !` as `-not` is not universally supported. Fixes: #24634 PR-URL: #24635 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 5e3b34f commit 95a3b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ tools/.docmdlintstamp: $(LINT_MD_DOC_FILES)
10791079
LINT_MD_TARGETS = src lib benchmark test tools/doc tools/icu
10801080
LINT_MD_ROOT_DOCS := $(wildcard *.md)
10811081
LINT_MD_MISC_FILES := $(shell find $(LINT_MD_TARGETS) -type f \
1082-
-not -path '*node_modules*' -not -path 'test/fixtures/*' -name '*.md') \
1082+
! -path '*node_modules*' ! -path 'test/fixtures/*' -name '*.md') \
10831083
$(LINT_MD_ROOT_DOCS)
10841084
run-lint-misc-md = tools/lint-md.js -q -f $(LINT_MD_MISC_FILES)
10851085
# Lint other changed markdown files maintained by us

0 commit comments

Comments
 (0)