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

Unified Diff: client/tools/buildbot_annotated_steps.py

Issue 8894025: add JDK/bin to the path (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 | no next file » | 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 2332)
+++ client/tools/buildbot_annotated_steps.py (working copy)
@@ -167,8 +167,11 @@
'--name=' + name, '--out=' + outdir]
local_env = os.environ
if 'linux' in name:
- local_env['JAVA_HOME'] = os.path.join(os.path.expanduser('~'),
- 'jdk1.6.0_25')
+ javahome = os.path.join(os.path.expanduser('~'), 'jdk1.6.0_25')
+ local_env['JAVA_HOME'] = javahome
+ local_env['PATH'] = (os.path.join(javahome, 'bin') +
+ os.pathsep + local_env['PATH'])
+
return subprocess.call(cmds, env=local_env)
def ProcessFrog():
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698