Index: build/download_gold_plugin.py |
diff --git a/build/download_gold_plugin.py b/build/download_gold_plugin.py |
index cd7ca41ed312fe7774b622d163a8700e366b0bde..e45430b9f601eb8fb822bb74b03fd33125c4ed1f 100755 |
--- a/build/download_gold_plugin.py |
+++ b/build/download_gold_plugin.py |
@@ -35,8 +35,13 @@ def main(): |
os.chdir(LLVM_BUILD_PATH) |
+ # TODO(pcc): Fix gsutil.py cp url file < /dev/null 2>&0 |
+ # (currently aborts with exit code 1, |
+ # https://github.com/GoogleCloudPlatform/gsutil/issues/289) or change the |
+ # stdin->stderr redirect in update.py to do something else (crbug.com/494442). |
subprocess.check_call(['python', GSUTIL_PATH, |
- 'cp', remote_path, targz_name]) |
+ 'cp', remote_path, targz_name], |
+ stderr=open('/dev/null', 'w')) |
subprocess.check_call(['tar', 'xzf', targz_name]) |
os.remove(targz_name) |
return 0 |