Lines Matching full:goroot
21 // All directories in this list are relative to and must be below $GOROOT/src/cmd.
61 mkzbootstrap(pathf("%s/src/cmd/internal/obj/zbootstrap.go", goroot))
63 // Use $GOROOT/pkg/bootstrap as the bootstrap workspace root.
64 // We use a subdirectory of $GOROOT/pkg because that's the
65 // space within $GOROOT where we store all generated objects.
66 // We could use a temporary directory outside $GOROOT instead,
68 workspace := pathf("%s/pkg/bootstrap", goroot)
73 // Copy source code into $GOROOT/pkg/bootstrap and rewrite import paths.
75 src := pathf("%s/src/cmd/%s", goroot, dir)
87 // GOROOT points at Go 1.4 GOROOT,
92 // Restore GOROOT, GOPATH, and GOBIN when done.
96 defer os.Setenv("GOROOT", os.Getenv("GOROOT"))
97 os.Setenv("GOROOT", goroot_bootstrap)