aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2025-05-18 20:44:21 +0900
committerBrent Cook <busterb@gmail.com>2025-05-18 20:46:32 +0900
commit0341e8da9f01714d005c5c6eef6faa6e5df3e362 (patch)
treee493ce5b5ad96305f5c3ba9ac780ab993efee86d
parent15bc02adc578c0c1f5afd1fbd9c96bbcfa388ad7 (diff)
downloadportable-0341e8da9f01714d005c5c6eef6faa6e5df3e362.tar.gz
portable-0341e8da9f01714d005c5c6eef6faa6e5df3e362.tar.bz2
portable-0341e8da9f01714d005c5c6eef6faa6e5df3e362.zip
remove tmp files left behind during masm generation
-rwxr-xr-xupdate.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index eec551c..07403b0 100755
--- a/update.sh
+++ b/update.sh
@@ -210,6 +210,7 @@ gen_asm_stdout() {
210 EOF 210 EOF
211 if [ $1 = "masm" ]; then 211 if [ $1 = "masm" ]; then
212 fixup_masm crypto/$3.tmp crypto/$3 212 fixup_masm crypto/$3.tmp crypto/$3
213 rm crypto/$3.tmp
213 else 214 else
214 $MV crypto/$3.tmp crypto/$3 215 $MV crypto/$3.tmp crypto/$3
215 fi 216 fi
@@ -238,6 +239,7 @@ gen_asm() {
238 EOF 239 EOF
239 if [ $1 = "masm" ]; then 240 if [ $1 = "masm" ]; then
240 fixup_masm crypto/$3.tmp crypto/$3 241 fixup_masm crypto/$3.tmp crypto/$3
242 rm crypto/$3.tmp
241 else 243 else
242 $MV crypto/$3.tmp crypto/$3 244 $MV crypto/$3.tmp crypto/$3
243 fi 245 fi