From 75b49ab641663bd4cd5ce76b0a0270b723e2d204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Valais?= Date: Mon, 14 Feb 2022 16:34:51 +0100 Subject: [PATCH] make: fix message when CMREL_KEY isn't set MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Double quotes are not interpreted by make, which meant that the variable CMREL_KEY was set to '""' and was never empty, which means the $(error ...) block was never interpreted. Signed-off-by: Maƫl Valais --- make/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/Makefile b/make/Makefile index 133b05db3..934e30cf1 100644 --- a/make/Makefile +++ b/make/Makefile @@ -28,7 +28,7 @@ GOBUILDPROCS ?= # Set this as an environment variable to enable signing commands using cmrel # Format should be: # projects//locations//keyRings//cryptoKeys//cryptoKeyVersions/ -CMREL_KEY ?= "" +CMREL_KEY ?= HOST_OS = $(shell $(GO) env GOOS) HOST_ARCH = $(shell $(GO) env GOARCH)