Skip to content

Commit 2a1d7ea

Browse files
committed
Ignore NOTICES in license-header-check
1 parent b9e88a9 commit 2a1d7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ oats-test-debug: oats-prereq
384384

385385
.PHONY: license-header-check
386386
license-header-check:
387-
@licRes=$$(for f in $$(find . -type f \( -iname '*.go' -o -iname '*.sh' -o -iname '*.c' -o -iname '*.h' \) ! -path './.git/*' ) ; do \
387+
@licRes=$$(for f in $$(find . -type f \( -iname '*.go' -o -iname '*.sh' -o -iname '*.c' -o -iname '*.h' \) ! -path './.git/*' ! -path './NOTICES/*' ) ; do \
388388
awk '/Copyright The OpenTelemetry Authors|generated|GENERATED/ && NR<=4 { found=1; next } END { if (!found) print FILENAME }' $$f; \
389389
done); \
390390
if [ -n "$${licRes}" ]; then \

0 commit comments

Comments
 (0)