3 # 02.09.2007 Volker Quetschke
4 # Check that temporary filenames are kept alive between recipe lines.
11 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15
13 # Remove files from prior failed run
16 # Remember to quote variables in generated makefiles( $ -> \$ ).
22 @noop \$(assign TMPFILE:=\$(mktmp abcd))
27 output1
=`eval ${DMAKEPROG} -rf $file1 2>&1 `
30 if test $result1 = 0 -a "$output1" = "abcd"; then
33 echo "Wrong result: $output1"
38 if test $result1 -eq 0 ; then
39 echo "Success - Cleaning up"