From 33ad2fe019da2605accac105557078e2e66c447d Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Wed, 20 Jan 2021 12:30:44 -0800 Subject: [PATCH] Build: Don't find into _name dirs This is a no-op now that _examples is renamed. --- hack/make-rules/helpers/cache_go_dirs.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hack/make-rules/helpers/cache_go_dirs.sh b/hack/make-rules/helpers/cache_go_dirs.sh index 63cb07d422f..b43891ee7c5 100755 --- a/hack/make-rules/helpers/cache_go_dirs.sh +++ b/hack/make-rules/helpers/cache_go_dirs.sh @@ -44,9 +44,9 @@ function kfind() { \( \ -not \( \ \( \ - -path ./_\* -o \ - -path ./.\* -o \ - -path ./vendor \ + -name '_*' -o \ + -name '.[^.]*' -o \ + -path './vendor' \ \) -prune \ \) \ \) \