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.
This commit is contained in:
Seth Hoenig
2022-02-17 07:48:39 -06:00
parent 36e31c51cb
commit 6c7a934033

View File

@@ -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 ?=