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

Unified Diff: tools/bots/pub.py

Issue 1172623003: Don't hardcode linux as the build os in pub annotated (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months 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: tools/bots/pub.py
diff --git a/tools/bots/pub.py b/tools/bots/pub.py
index 9d1445688171160b3af51c615b754418cd1b41d0..ee3cd1e74f2d2ccdb77215f7837eb1e9011fcbb7 100755
--- a/tools/bots/pub.py
+++ b/tools/bots/pub.py
@@ -53,7 +53,7 @@ def PubSteps(build_info):
pub_script_name = 'pub.bat' if build_info.system == 'windows' else 'pub'
pub_bin = os.path.join(sdk_bin, pub_script_name)
- pub_copy = os.path.join(utils.GetBuildRoot('linux'), 'pub_copy')
+ pub_copy = os.path.join(utils.GetBuildRoot(BUILD_OS), 'pub_copy')
pub_location = os.path.join('third_party', 'pkg', 'pub')
with bot.BuildStep('Make copy of pub for testing'):
« 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