0018-qflag.sh (214B)
1 #!/bin/sh 2 3 trap 'rm -f $tmp1 $tmp2' EXIT INT QUIT TERM HUP 4 5 tmp1=tmp1.$$ 6 tmp2=tmp2.$$ 7 8 cat > $tmp2 <<EOF 9 -q 10 pass 11 EOF 12 13 (set -e 14 scc make -qf test.mk print-makeflags-always 15 echo pass) > $tmp1 2>&1 16 17 diff $tmp1 $tmp2