Added GOPATH/bin to the path in build script

Also fixed hardcoded tool name for MongoDB tools
This commit is contained in:
Carlos Salguero
2017-02-01 15:12:04 -03:00
parent 794229673a
commit 96acdf2961
3 changed files with 4 additions and 3 deletions

View File

@@ -426,7 +426,8 @@ build_go_binaries() {
TOOLKIT_DIR="${PERCONA_DIR}/percona-toolkit"
GO_TOOLS_DIR="${TOOLKIT_DIR}/src/go"
CUR_DIR=$(pwd)
UNLINK=0
UNLINK=0
export PATH=${GOPATH}/bin:${PATH}
echo "GOPATH: ${GOPATH}"
echo "Github directory: ${GITHUB_DIR}"