mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
Added GOPATH/bin to the path in build script
Also fixed hardcoded tool name for MongoDB tools
This commit is contained in:
@@ -138,7 +138,7 @@ func main() {
|
||||
log.SetLevel(logLevel)
|
||||
|
||||
if opts.Version {
|
||||
fmt.Println("pt-mongodb-summary")
|
||||
fmt.Println(TOOLNAME)
|
||||
fmt.Printf("Version %s\n", Version)
|
||||
fmt.Printf("Build: %s using %s\n", Build, GoVersion)
|
||||
return
|
||||
|
@@ -172,7 +172,7 @@ func main() {
|
||||
}
|
||||
|
||||
if opts.Version {
|
||||
fmt.Println("pt-mongodb-summary")
|
||||
fmt.Println(TOOLNAME)
|
||||
fmt.Printf("Version %s\n", Version)
|
||||
fmt.Printf("Build: %s using %s\n", Build, GoVersion)
|
||||
return
|
||||
|
@@ -427,6 +427,7 @@ build_go_binaries() {
|
||||
GO_TOOLS_DIR="${TOOLKIT_DIR}/src/go"
|
||||
CUR_DIR=$(pwd)
|
||||
UNLINK=0
|
||||
export PATH=${GOPATH}/bin:${PATH}
|
||||
|
||||
echo "GOPATH: ${GOPATH}"
|
||||
echo "Github directory: ${GITHUB_DIR}"
|
||||
|
Reference in New Issue
Block a user