Lines Matching refs:gobin
25 gobin string
110 b := os.Getenv("GOBIN")
114 gobin = b
354 // The old tools that no longer live in $GOBIN or $GOROOT/bin.
442 // If $GOBIN is set and has a Go compiler, it must be cleaned.
444 if isfile(pathf("%s%s%c%s", gobin, slash, char, "g")) {
446 xremove(pathf("%s/%s", gobin, old))
986 xprintf(format, "GOBIN", gobin)
1004 xprintf(format, "PATH", fmt.Sprintf("%s%s%s", gobin, sep, os.Getenv("PATH")))
1206 xprintf("Installed commands in %s\n", gobin)
1209 // If the files are to be moved, don't check that gobin
1212 // Check that gobin is bound before /bin.
1215 if !strings.Contains(readfile(ns), fmt.Sprintf("bind -b %s /bin", gobin)) {
1216 xprintf("*** You need to bind %s before /bin.\n", gobin)
1219 // Check that gobin appears in $PATH.
1224 if !strings.Contains(pathsep+os.Getenv("PATH")+pathsep, pathsep+gobin+pathsep) {
1225 xprintf("*** You need to add %s to your PATH.\n", gobin)