From 139c6daf302442aa19fed6cba8732a1b5c0eb1e0 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 25 Jan 2024 15:26:43 -0500 Subject: [PATCH] Missed a spot! testing verify-licenses.sh Signed-off-by: Davanum Srinivas --- hack/verify-licenses.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/verify-licenses.sh b/hack/verify-licenses.sh index 2bc8235129f..cc5f490d87b 100755 --- a/hack/verify-licenses.sh +++ b/hack/verify-licenses.sh @@ -62,7 +62,7 @@ go install github.com/google/go-licenses@latest curl -s 'https://spdx.org/licenses/licenses.json' -o "${ARTIFACTS}"/licenses.json echo '[INFO] Fetching current list of CNCF approved licenses...' -jq -r '.licenses[] | select(.isDeprecatedLicenseId==false) .licenseId' /tmp/licenses.json | sort | uniq > "${ARTIFACTS}"/licenses.txt +jq -r '.licenses[] | select(.isDeprecatedLicenseId==false) .licenseId' "${ARTIFACTS}"/licenses.json | sort | uniq > "${ARTIFACTS}"/licenses.txt # Scanning go-packages under the project & verifying against the CNCF approved list of licenses echo '[INFO] Starting license scan on go-packages...'