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.
This commit is contained in:
Dan Williams 2016-03-24 11:33:19 -05:00
parent 5c79f8bd5d
commit ae2f64ec40

1
build
View File

@ -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