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

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

View File

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