Fix license check unbound variable (#534)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2022-11-11 16:16:14 +01:00 committed by GitHub
parent c5735b0b60
commit fdb7c480e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ not_allowed() {
err=1 err=1
} }
err=0
go mod download go mod download
go-licenses csv ./... | { go-licenses csv ./... | {
@ -21,8 +22,7 @@ go-licenses csv ./... | {
case ${lic} in case ${lic} in
Apache-2.0 | BSD-2-Clause | BSD-3-Clause | ISC | MIT) ;; Apache-2.0 | BSD-2-Clause | BSD-3-Clause | ISC | MIT) ;;
\ MPL-2.0)
MPL-2.0)
case ${pkg} in case ${pkg} in
github.com/talos-systems/talos/pkg/machinery/config/encoder) ;; github.com/talos-systems/talos/pkg/machinery/config/encoder) ;;