Don't tee build logs. (#10647)

`tee` will override the compile return code.
This commit is contained in:
Oliver Chang 2023-07-06 10:09:04 +10:00 committed by GitHub
parent 0e8d11c84d
commit edadf41dcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ def get_compile_step(project, build, env, parallel, upload_build_logs=None):
f'{build.architecture} {project.name}\n' + '*' * 80)
compile_output_redirect = ''
if upload_build_logs:
compile_output_redirect = f'|& tee {LOCAL_BUILD_LOG_PATH} '
compile_output_redirect = f'&> {LOCAL_BUILD_LOG_PATH} '
compile_step = {
'name': project.image,