Merge pull request #104610 from aojea/i_hate_this_shell_things

skip hack/tools/vendor folder
This commit is contained in:
Kubernetes Prow Robot 2021-08-27 01:52:04 -07:00 committed by GitHub
commit cb520ca573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,14 +39,17 @@ function kfind() {
# We want to include the "special" vendor directories which are actually
# part of the Kubernetes source tree (./staging/*) but we need them to be
# named as their ./vendor/* equivalents. Also, we do not want all of
# ./vendor or even all of ./vendor/k8s.io.
# ./vendor , ./hack/tools/vendor or even all of ./vendor/k8s.io.
find -H . \
\( \
-not \( \
\( \
-name '_*' -o \
-name '.[^.]*' -o \
-path './vendor' \
\( \
-name 'vendor' \
-type d \
\) \
\) -prune \
\) \
\) \