]> Cypherpunks repositories - gostls13.git/commitdiff
misc/dashboard/builder: add environment variables for Plan 9
authorAnthony Martin <ality@pbrane.org>
Fri, 31 May 2013 19:18:43 +0000 (12:18 -0700)
committerAnthony Martin <ality@pbrane.org>
Fri, 31 May 2013 19:18:43 +0000 (12:18 -0700)
We require $objtype in make.rc and rc needs $path for finding commands.

Also include $cputype which we may use in the future.

R=golang-dev, minux.ma, r
CC=golang-dev
https://golang.org/cl/9905043

misc/dashboard/builder/main.go

index ef5562c51683346563b0f4151589480d59ba5615..af7f956e24ea2feda10447fb040f72119367748b 100644 (file)
@@ -31,11 +31,18 @@ const (
 // These variables are copied from the gobuilder's environment
 // to the envv of its subprocesses.
 var extraEnv = []string{
-       "CC",
        "GOARM",
+
+       // For Unix derivatives.
+       "CC",
        "PATH",
        "TMPDIR",
        "USER",
+
+       // For Plan 9.
+       "objtype",
+       "cputype",
+       "path",
 }
 
 type Builder struct {