Make depend should work when GOBIN is set
@@ -89,7 +89,7 @@ function installGoPkg {
echo " using tag ${revision}"
fi
(cd ${BUILD_TMP}/src/${repo} && git reset --hard ${revision})
- GOPATH=${BUILD_TMP} go install -i ${repo}/${pkgPath}
+ GOPATH=${BUILD_TMP} GOBIN=${BUILD_TMP}/bin go install -i ${repo}/${pkgPath}
mkdir -p ${GOPATH}/bin
for cmd in ${cmds[@]}
