Skip to content

Commit 25a0655

Browse files
committed
Remove GOPATH export in makefile
Fixes beekhof#1 Makefile assumes and exports GOPATH. It fails build in environments with custom GOPATH. It will be better to treat GOPATH as dependency set through an environment variable.
1 parent 7bd8ed1 commit 25a0655

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ DOCKER_REPO_ROOT="/go/src/$(PROJECT)"
1414

1515
GIT_SHA=$(shell git rev-parse --short HEAD || echo GitNotFound)
1616
export KUBECONFIG=$(HOME)/.kube/config
17-
export GOPATH=$(HOME)/go
1817
export GREP=grep --color=never
1918

2019
PKGS=$(shell go list ./cmd/... ./pkg/... | grep -v -e generated -e apis/clusterlabs/v1alpha1)

0 commit comments

Comments
 (0)