Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: client/tools/buildbot_annotated_steps.py

Issue 8896015: Fix error in buildbot dart-editor-linux (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | editor/build/build.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tools/buildbot_annotated_steps.py
===================================================================
--- client/tools/buildbot_annotated_steps.py (revision 2319)
+++ client/tools/buildbot_annotated_steps.py (working copy)
@@ -165,7 +165,11 @@
cmds = [sys.executable, toolsBuildScript,
'--mode=' + mode, '--revision=' + version,
'--name=' + name, '--out=' + outdir]
- return subprocess.call(cmds)
+ local_env = os.environ
+ if 'linux' in name:
+ local_env['JAVA_HOME'] = os.path.join(os.path.expanduser('~'),
+ 'jdk1.6.0_25')
+ return subprocess.call(cmds, env=local_env)
def ProcessFrog():
'''
« no previous file with comments | « no previous file | editor/build/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698