summaryrefslogtreecommitdiff
path: root/src/cmd/go/tool.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-02-02 23:32:41 -0500
committerRuss Cox <rsc@golang.org>2012-02-02 23:32:41 -0500
commit795533751bf0be95b44f1479f5b238c35f181a90 (patch)
tree3eb959020b7bdae098aca14e63c4882da26a39be /src/cmd/go/tool.go
parent62fdde7a6bfb8d9c3846573e32e6e6c802e1d054 (diff)
downloadgo-795533751bf0be95b44f1479f5b238c35f181a90.tar.gz
build: rename $GOROOT/bin/go-tool to $GOROOT/bin/tool.
The go- is redundant now that the directory is required to be inside $GOROOT. Rob LGTMed the idea. R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/5618044
Diffstat (limited to 'src/cmd/go/tool.go')
-rw-r--r--src/cmd/go/tool.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/go/tool.go b/src/cmd/go/tool.go
index e187be380..af8a0d287 100644
--- a/src/cmd/go/tool.go
+++ b/src/cmd/go/tool.go
@@ -31,7 +31,7 @@ var (
toolGOOS = runtime.GOOS
toolGOARCH = runtime.GOARCH
toolIsWindows = toolGOOS == "windows"
- toolDir = filepath.Join(build.Path[0].Path, "bin", "go-tool")
+ toolDir = filepath.Join(build.Path[0].Path, "bin", "tool")
)
const toolWindowsExtension = ".exe"
@@ -81,7 +81,7 @@ func runTool(cmd *Command, args []string) {
}
}
-// listTools prints a list of the available tools in the go-tools directory.
+// listTools prints a list of the available tools in the tools directory.
func listTools() {
f, err := os.Open(toolDir)
if err != nil {