mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +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
|
# We want to include the "special" vendor directories which are actually
|
||||||
# part of the Kubernetes source tree (./staging/*) but we need them to be
|
# 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
|
# 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 . \
|
find -H . \
|
||||||
\( \
|
\( \
|
||||||
-not \( \
|
-not \( \
|
||||||
\( \
|
\( \
|
||||||
-name '_*' -o \
|
-name '_*' -o \
|
||||||
-name '.[^.]*' -o \
|
-name '.[^.]*' -o \
|
||||||
-path './vendor' \
|
\( \
|
||||||
|
-name 'vendor' \
|
||||||
|
-type d \
|
||||||
|
\) \
|
||||||
\) -prune \
|
\) -prune \
|
||||||
\) \
|
\) \
|
||||||
\) \
|
\) \
|
||||||
|
Loading…
Reference in New Issue
Block a user