From ec7eb31f8685a50e73bf5bfcda9603edd17d6ad0 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Mon, 23 Jan 2017 16:26:11 -0700 Subject: [PATCH] fix(make): fix license check An error in the way license checks are evaluated is causing CI failures. Closes #1856 --- scripts/validate-license.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 \ \) \