summaryrefslogtreecommitdiff
path: root/misc/dashboard/buildcontrol.py
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-01-27 15:42:37 -0800
committerRuss Cox <rsc@golang.org>2010-01-27 15:42:37 -0800
commitb98c804fbcaf99b1cf4d64ccc399a2ebb834fbe6 (patch)
tree88ae8e653bc54d2b909565f5869200c00fba1098 /misc/dashboard/buildcontrol.py
parent7706272695ee5dbb416a421d8922215936eb4f04 (diff)
downloadgolang-b98c804fbcaf99b1cf4d64ccc399a2ebb834fbe6.tar.gz
dashboard: builder tweaks
R=agl1 CC=golang-dev http://codereview.appspot.com/194116
Diffstat (limited to 'misc/dashboard/buildcontrol.py')
-rw-r--r--misc/dashboard/buildcontrol.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/dashboard/buildcontrol.py b/misc/dashboard/buildcontrol.py
index b2f7728e9..91b684f79 100644
--- a/misc/dashboard/buildcontrol.py
+++ b/misc/dashboard/buildcontrol.py
@@ -35,12 +35,12 @@ def main(args):
buildport = int(os.environ['BUILDPORT'])
try:
- buildkey = file('%s/.gobuildkey' % os.environ['GOROOT'], 'r').read().strip()
+ buildkey = file('%s/.gobuildkey-%s' % (os.environ['HOME'], os.environ['BUILDER']), 'r').read().strip()
except IOError:
try:
buildkey = file('%s/.gobuildkey' % os.environ['HOME'], 'r').read().strip()
except IOError:
- print >>sys.stderr, "Need key in $GOROOT/.gobuildkey or ~/.gobuildkey"
+ print >>sys.stderr, "Need key in ~/.gobuildkey-%s or ~/.gobuildkey" % os.environ['BUILDER']
return
if args[1] == 'init':