From: Dan Williams Date: Thu, 24 Mar 2016 16:33:19 +0000 (-0500) Subject: scripts: fix build with go-1.5 after switch to vendor/ X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=ae2f64ec40ccd921c5006a0850e0a662c70a2b37;p=cni.git scripts: fix build with go-1.5 after switch to vendor/ go-1.6 enables vendor by default, but go-1.5 needs an environment variable. --- diff --git a/build b/build index f987dbb..815b360 100755 --- a/build +++ b/build @@ -9,6 +9,7 @@ if [ ! -h gopath/src/${REPO_PATH} ]; then ln -s ../../../.. gopath/src/${REPO_PATH} || exit 255 fi +export GO15VENDOREXPERIMENT=1 export GOBIN=${PWD}/bin export GOPATH=${PWD}/gopath