diff --git a/hack/license/header-check.sh b/hack/license/header-check.sh index 8a058ee98a6..d3e6144e10d 100755 --- a/hack/license/header-check.sh +++ b/hack/license/header-check.sh @@ -24,7 +24,7 @@ set -e -o pipefail # Initialize vars ERR=false FAIL=false -EXCLUDES_DIRS="vendor/\|apis/\|tools/\|externalapis/\|pkg/lorry/component/\|pkg/cli/cmd/plugin/download\|pkg\/common" +EXCLUDES_DIRS="vendor/\|apis/\|tools/\|externalapis/\|pkg/lorry/engines/\|pkg/lorry/util/\|pkg/cli/cmd/plugin/download\|pkg\/common" APACHE2_DIRS="apis/\|externalapis/" for file in $(git ls-files | grep '\.cue\|\.go$' | grep -v ${EXCLUDES_DIRS}); do