From 6c7a934033dda810c411c7fff27179ea03ffb7e8 Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Thu, 17 Feb 2022 07:48:39 -0600 Subject: [PATCH] build: use single-path GOPATH set in makefile When GOBIN is not set, BIN must be set to the single-path workaround value of GOPATH, because Circle. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 57658aa7343..4f7ee7d1f98 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -18,7 +18,7 @@ endif # Respect $GOBIN if set in environment or via $GOENV file. BIN := $(shell go env GOBIN) ifndef BIN -BIN := $(shell go env GOPATH)/bin +BIN := $(GOPATH)/bin endif GO_TAGS ?=