From: Anthony Martin Date: Fri, 31 May 2013 19:18:43 +0000 (-0700) Subject: misc/dashboard/builder: add environment variables for Plan 9 X-Git-Tag: go1.2rc2~1366 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=252161cadcfef4c42c133ba55c74672f520ab80e;p=gostls13.git misc/dashboard/builder: add environment variables for Plan 9 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 --- diff --git a/misc/dashboard/builder/main.go b/misc/dashboard/builder/main.go index ef5562c516..af7f956e24 100644 --- a/misc/dashboard/builder/main.go +++ b/misc/dashboard/builder/main.go @@ -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 {