Remove tempfile created when setting up sccache

This commit is contained in:
Stephen Seo 2022-09-07 16:09:48 +09:00
parent 006bafc4fb
commit d51430cc10

View file

@ -650,6 +650,15 @@ def create_executable_script(dest_filename, script_contents):
],
check=True,
)
subprocess.run(
[
"/usr/bin/env",
"rm",
"-f",
tempf_name,
],
check=True,
)
except subprocess.CalledProcessError:
log_print(
f'ERROR: Failed to create executable script "{dest_filename}"'