diff options
author | Anthony Martin <ality@pbrane.org> | 2013-05-31 12:18:43 -0700 |
---|---|---|
committer | Anthony Martin <ality@pbrane.org> | 2013-05-31 12:18:43 -0700 |
commit | 98622bce074a99125337e78acd85d6ddd2918cec (patch) | |
tree | a0ae56bf16cb332676ebdd17dec69b639af5c7ba /misc/dashboard | |
parent | bb27d65e9e6bbbdc124e6c2e462838cd989769a9 (diff) | |
download | go-98622bce074a99125337e78acd85d6ddd2918cec.tar.gz |
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://codereview.appspot.com/9905043
Diffstat (limited to 'misc/dashboard')
-rw-r--r-- | misc/dashboard/builder/main.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/misc/dashboard/builder/main.go b/misc/dashboard/builder/main.go index ef5562c51..af7f956e2 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 { |