diff --git a/scripts/validate-license.sh b/scripts/validate-license.sh index fe7ec481b..64ef4dc0a 100755 --- a/scripts/validate-license.sh +++ b/scripts/validate-license.sh @@ -17,10 +17,9 @@ set -euo pipefail IFS=$'\n\t' find_files() { - find . -not \( \ + find ./_proto ./cmd ./pkg ./scripts ./rootfs ./docs -not \( \ \( \ - -wholename './vendor' \ - -o -wholename './pkg/proto' \ + -wholename './pkg/proto' \ -o -wholename '*testdata*' \ \) -prune \ \) \