From ea3696dbcf3eed390f1ea5e459aa7ff0e584b2f6 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Fri, 12 Jan 2024 15:27:06 -0800 Subject: [PATCH] Remove legacy references to './output' --- hack/update-yamlfmt.sh | 3 +-- hack/verify-description.sh | 2 +- hack/verify-fieldname-docs.sh | 2 +- hack/verify-gofmt.sh | 3 +-- hack/verify-netparse-cve.sh | 3 +-- hack/verify-readonly-packages.sh | 3 +-- 6 files changed, 6 insertions(+), 10 deletions(-) diff --git a/hack/update-yamlfmt.sh b/hack/update-yamlfmt.sh index ad65c0f8593..0c347815364 100755 --- a/hack/update-yamlfmt.sh +++ b/hack/update-yamlfmt.sh @@ -28,8 +28,7 @@ cd "${KUBE_ROOT}" find_files() { find . -not \( \ \( \ - -wholename './output' \ - -o -wholename './.git' \ + -wholename './.git' \ -o -wholename './_output' \ -o -wholename './release' \ -o -wholename './target' \ diff --git a/hack/verify-description.sh b/hack/verify-description.sh index 832806a5cb4..cf9d5dc5e11 100755 --- a/hack/verify-description.sh +++ b/hack/verify-description.sh @@ -38,7 +38,7 @@ result=0 find_files() { find . -not \( \ \( \ - -wholename './output' \ + -wholename '.git' \ -o -wholename './_output' \ -o -wholename './release' \ -o -wholename './target' \ diff --git a/hack/verify-fieldname-docs.sh b/hack/verify-fieldname-docs.sh index 3978b403773..723ac211e1d 100755 --- a/hack/verify-fieldname-docs.sh +++ b/hack/verify-fieldname-docs.sh @@ -38,7 +38,7 @@ result=0 find_files() { find . -not \( \ \( \ - -wholename './output' \ + -wholename '.git' \ -o -wholename './_output' \ -o -wholename './release' \ -o -wholename './target' \ diff --git a/hack/verify-gofmt.sh b/hack/verify-gofmt.sh index 9219d0a221b..d539b069552 100755 --- a/hack/verify-gofmt.sh +++ b/hack/verify-gofmt.sh @@ -35,8 +35,7 @@ kube::golang::setup_env find_files() { find . -not \( \ \( \ - -wholename './output' \ - -o -wholename './.git' \ + -wholename './.git' \ -o -wholename './_output' \ -o -wholename './release' \ -o -wholename './target' \ diff --git a/hack/verify-netparse-cve.sh b/hack/verify-netparse-cve.sh index cfd18b28bf5..fbce2f5ac7a 100755 --- a/hack/verify-netparse-cve.sh +++ b/hack/verify-netparse-cve.sh @@ -34,8 +34,7 @@ rc=0 find_files() { find . -not \( \ \( \ - -wholename './output' \ - -o -wholename './.git' \ + -wholename './.git' \ -o -wholename './_output' \ -o -wholename './release' \ -o -wholename './target' \ diff --git a/hack/verify-readonly-packages.sh b/hack/verify-readonly-packages.sh index 2b0244366b6..12c5e778ad0 100755 --- a/hack/verify-readonly-packages.sh +++ b/hack/verify-readonly-packages.sh @@ -31,8 +31,7 @@ readonly branch=${1:-${KUBE_VERIFY_GIT_BRANCH:-master}} find_files() { find . -not \( \ \( \ - -wholename './output' \ - -o -wholename './_output' \ + -wholename './_output' \ -o -wholename './release' \ -o -wholename './target' \ -o -wholename '*/third_party/*' \