We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f4d2c commit 24536e3Copy full SHA for 24536e3
tool/update-boringssl.py
@@ -271,15 +271,26 @@ def mkdirp(path):
271
272
273
def main():
274
+ if shutil.which('go') is None:
275
+ print('Could not find "go" on $PATH')
276
+ return 1
277
+ if shutil.which('git') is None:
278
+ print('Could not find "git" on $PATH')
279
280
+ if shutil.which('perl') is None:
281
+ print('Could not find "perl" on $PATH')
282
283
try:
284
print('Updating third_party/boringssl/')
285
tmp = tempfile.mkdtemp(prefix='update-boringssl-')
286
cleanup()
287
git_clone(tmp)
288
generate(tmp)
289
print('Updated to BoringSSL revision: ' + BORINGSSL_REVISION)
290
+ return 0
291
finally:
292
shutil.rmtree(tmp)
293
294
295
296
if __name__ == '__main__':
0 commit comments