0001-z80.sh (285B)
1 #!/bin/sh 2 3 set -e 4 trap 'rm -f $tmp1 $tmp2 $tmp3' EXIT HUP INT QUIT TERM 5 6 tmp1=tmpfile1 7 tmp2=tmpfile2 8 tmp3=tmpfile3 9 10 cp z80.out $tmp1 11 scc-strip $tmp1 > $tmp2 12 z80-unknown-coff-nm $tmp1 >> $tmp2 2>&1 || true 13 14 cat > $tmp3 <<EOF 15 z80-unknown-coff-nm: $tmp1: no symbols 16 EOF 17 18 diff $tmp2 $tmp3