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'): |