build: Minor fixes to scripts - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit bfb5950b41f6430471d841f21f23a745029e45b5
 (DIR) parent 10f4504a3888a07d7650bf4aaab209df283b46ad
 (HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
       Date:   Sun, 11 Feb 2024 08:24:56 +0100
       
       build: Minor fixes to scripts
       
       Diffstat:
         M src/cmd/cc/posix/Makefile           |       1 -
         M tests/as/execute/test.sh            |       6 +++---
       
       2 files changed, 3 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/cc/posix/Makefile b/src/cmd/cc/posix/Makefile
       @@ -23,7 +23,6 @@ $(BINDIR)/scc: scc.sh
                chmod +x $@
        
        config.h:
       -        set -e;\
                rm -f $@;\
                trap "rm -f $$$$.h" EXIT INT QUIT HUP TERM;\
                (echo '#define PREFIX "$(PREFIX)"';\
 (DIR) diff --git a/tests/as/execute/test.sh b/tests/as/execute/test.sh
       @@ -5,11 +5,11 @@ cpu=${1?}
        exec >>test.log
        exec 2>&1
        
       -tmp1=`mktemp`
       -tmp2=`mktemp`
       +tmp1=tmp1.$$
       +tmp2=tmp2.$$
        file=$cpu.s
        
       -trap "rm -f a.out $tmp1 $tmp2; exit" 0 2 3
       +trap "rm -f a.out $tmp1 $tmp2" 0 2 3
        
        as-$cpu $file