0028-tflag.sh (203B)
1 #!/bin/sh 2 3 trap 'rm -f $tmp1 $tmp2 file1' EXIT INT TERM QUIT HUP 4 5 tmp1=tmp1.$$ 6 tmp2=tmp2.$$ 7 8 cat > $tmp2 <<EOF 9 touch file1 10 EOF 11 12 scc-make -tf test.mk file1 > $tmp1 2>&1 13 14 diff $tmp1 $tmp2 && test -f file1