From 7c50528a39457306cb61f509741a1faa655a6401 Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Fri, 12 Jul 2019 11:47:27 +0200 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.16.6