Lines Matching refs:GOBIN
27 gobin string
111 b = os.Getenv("GOBIN")
115 gobin = b
407 // The old tools that no longer live in $GOBIN or $GOROOT/bin.
491 // If $GOBIN is set and has a Go compiler, it must be cleaned.
493 if isfile(pathf("%s/%c%s", gobin, char, "g")) {
495 xremove(pathf("%s/%s", gobin, old))
1046 xprintf(format, "GOBIN", gobin)
1067 xprintf(format, "PATH", fmt.Sprintf("%s%s%s", gobin, sep, os.Getenv("PATH")))
1186 cmdGo := pathf("%s/go", gobin)
1470 xprintf("Installed commands in %s\n", gobin)
1473 // If the files are to be moved, don't check that gobin
1476 // Check that gobin is bound before /bin.
1479 if !strings.Contains(readfile(ns), fmt.Sprintf("bind -b %s /bin", gobin)) {
1480 xprintf("*** You need to bind %s before /bin.\n", gobin)
1483 // Check that gobin appears in $PATH.
1488 if !strings.Contains(pathsep+os.Getenv("PATH")+pathsep, pathsep+gobin+pathsep) {
1489 xprintf("*** You need to add %s to your PATH.\n", gobin)