Remove tempfile created when setting up sccache
This commit is contained in:
parent
006bafc4fb
commit
d51430cc10
1 changed files with 9 additions and 0 deletions
|
@ -650,6 +650,15 @@ def create_executable_script(dest_filename, script_contents):
|
||||||
],
|
],
|
||||||
check=True,
|
check=True,
|
||||||
)
|
)
|
||||||
|
subprocess.run(
|
||||||
|
[
|
||||||
|
"/usr/bin/env",
|
||||||
|
"rm",
|
||||||
|
"-f",
|
||||||
|
tempf_name,
|
||||||
|
],
|
||||||
|
check=True,
|
||||||
|
)
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
log_print(
|
log_print(
|
||||||
f'ERROR: Failed to create executable script "{dest_filename}"'
|
f'ERROR: Failed to create executable script "{dest_filename}"'
|
||||||
|
|
Loading…
Reference in a new issue