From fc32197d4351fd4724d02559963d77c632d31d70 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 7 Aug 2023 17:18:54 +0200 Subject: [PATCH] Makefile: fix overriding go command There still was one place that's calling the `go` command directly instead of using the $(GO) variable. Fixes: 9ea25634bddccbcd4c45a7e552a147ff7f50aaab Signed-off-by: Enrico Weigelt, metux IT consult --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 487dff8a2..a6203767e 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,7 @@ ifdef SKIPTESTS endif #Replaces ":" (*nix), ";" (windows) with newline for easy parsing -GOPATHS=$(shell go env GOPATH | tr ":" "\n" | tr ";" "\n") +GOPATHS=$(shell $(GO) env GOPATH | tr ":" "\n" | tr ";" "\n") TESTFLAGS_RACE= GO_BUILD_FLAGS=