0095-include.sh (222B)
1 #!/bin/sh 2 3 trap 'rm -f $tmp1 $tmp2' EXIT INT TERM QUIT HUP 4 5 tmp1=tmp1.$$ 6 tmp2=tmp2.$$ 7 8 cat > $tmp1 <<EOF 9 Hello World! 10 EOF 11 12 scc make -f- MK=test.mk hello <<'EOF' > $tmp2 2>&1 13 MK = fail.mk 14 include $(MK) 15 EOF 16 diff $tmp1 $tmp2