Skip to content

Commit 3fa4def

Browse files
Trottrvagg
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 <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent a701dfb commit 3fa4def

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
@@ -1084,7 +1084,7 @@ tools/.docmdlintstamp: $(LINT_MD_DOC_FILES)
10841084
LINT_MD_TARGETS = src lib benchmark test tools/doc tools/icu
10851085
LINT_MD_ROOT_DOCS := $(wildcard *.md)
10861086
LINT_MD_MISC_FILES := $(shell find $(LINT_MD_TARGETS) -type f \
1087-
-not -path '*node_modules*' -not -path 'test/fixtures/*' -name '*.md') \
1087+
! -path '*node_modules*' ! -path 'test/fixtures/*' -name '*.md') \
10881088
$(LINT_MD_ROOT_DOCS)
10891089
run-lint-misc-md = tools/lint-md.js -q -f $(LINT_MD_MISC_FILES)
10901090
# Lint other changed markdown files maintained by us

0 commit comments

Comments
 (0)