git://git.halfball.org
/
cni.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c79f8b
)
scripts: fix build with go-1.5 after switch to vendor/
author
Dan Williams
<dcbw@redhat.com>
Thu, 24 Mar 2016 16:33:19 +0000
(11:33 -0500)
committer
Dan Williams
<dcbw@redhat.com>
Thu, 24 Mar 2016 16:33:19 +0000
(11:33 -0500)
go-1.6 enables vendor by default, but go-1.5 needs an environment variable.
build
patch
|
blob
|
history
diff --git
a/build
b/build
index
f987dbb
..
815b360
100755
(executable)
--- 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