From 415d0f992d06471f4ab508e93dffc9fa61d47495 Mon Sep 17 00:00:00 2001 From: Thy Ton Date: Wed, 8 Jan 2025 21:21:19 +0000 Subject: [PATCH] backport of commit 607991e5519d406162b27a34ae5f9a08570706b0 --- scripts/copywrite-exceptions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/copywrite-exceptions.sh b/scripts/copywrite-exceptions.sh index 0c3c56d14642..4399b897422e 100755 --- a/scripts/copywrite-exceptions.sh +++ b/scripts/copywrite-exceptions.sh @@ -5,7 +5,7 @@ # then runs the copywrite bot to utilize local subdir config # to inject correct headers. -find . -type f -name '*.go' -not -name '*_ent.go' | while read line; do +find . -type f -name '*.go' -not -name '*_ent.go' -not -name '*_ent_test.go' | while read line; do if grep "SPDX-License-Identifier: BUSL-1.1" $line; then sed -i '/SPDX-License-Identifier: BUSL-1.1/d' $line sed -i '/Copyright (c) HashiCorp, Inc./d' $line