From a1ad4910dc7377a47c79cdd1bcdf0bf1161add72 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Mon, 4 Nov 2019 17:30:31 -0800 Subject: [PATCH] Build: Use a better filter on find In case the _workspace directory exists, filter it out. --- hack/make-rules/helpers/cache_go_dirs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/make-rules/helpers/cache_go_dirs.sh b/hack/make-rules/helpers/cache_go_dirs.sh index f53439b6784d..e42288ae175d 100755 --- a/hack/make-rules/helpers/cache_go_dirs.sh +++ b/hack/make-rules/helpers/cache_go_dirs.sh @@ -44,10 +44,10 @@ function kfind() { \( \ -not \( \ \( \ - -path ./vendor -o \ -path ./_\* -o \ -path ./.\* -o \ - -path ./docs \ + -path ./vendor -o \ + -path ./Godeps \ \) -prune \ \) \ \) \