From: Yolanda Robla Date: Fri, 12 Jul 2019 09:47:27 +0000 (+0200) Subject: Inherit GOPATH from environment X-Git-Tag: akraino_r2~54 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=7c50528a39457306cb61f509741a1faa655a6401;p=kni%2Finstaller.git Inherit GOPATH from environment We are setting some paths by default in GOPATH, but it is important to inherit the ones from the environment, to support all deployments. Signed-off-by: Yolanda Robla Change-Id: I627f363d035e2da76e59e74e58d7822df0a39b81 --- diff --git a/Makefile b/Makefile index 163bdeb..992623b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -GOPATH=$(shell pwd)/vendor:$(shell pwd):"${HOME}/go" +export GOPATH:="${GOPATH}":$(shell pwd)/vendor:$(shell pwd):"${HOME}/go" GOBIN=$(shell pwd)/bin GOFILES=$(wildcard *.go) GONAME="knictl"