From: Stephen Seo Date: Wed, 7 Sep 2022 07:09:48 +0000 (+0900) Subject: Remove tempfile created when setting up sccache X-Git-Url: https://git.seodisparate.com/stephenseo/css/base.css?a=commitdiff_plain;h=d51430cc10d6b94cbdf1c5a6242af0b1f0e0e7e9;p=AnotherAURHelper Remove tempfile created when setting up sccache --- diff --git a/update.py b/update.py index e6b24c2..9c9803a 100755 --- a/update.py +++ b/update.py @@ -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}"'