mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #104610 from aojea/i_hate_this_shell_things
skip hack/tools/vendor folder
This commit is contained in:
commit
cb520ca573
@ -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 \
|
||||
\) \
|
||||
\) \
|
||||
|
Loading…
Reference in New Issue
Block a user