3 # 05.01.2006 Volker Quetschke
4 # Old dmakes throw a segmentation fault in special cases with
5 # dynamic prerequisits ( $$@ ).
11 tmpfiles
="$file1 $file2"
13 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15
15 # Remove files from prior failed run
18 # Remember to quote variables in generated makefiles( $ -> \$ ).
51 ${DMAKEPROG} -r -f $file1 >/dev
/null
2>&1
53 ${DMAKEPROG} -r -f $file2 >/dev
/null
2>&1
56 if test $result1 -eq 0 -a $result2 -eq 0; then
57 echo "Success - Cleaning up"
61 test $result1 -ne 0 && echo "Failure in testcase 1! Remove the corefile!"
62 test $result2 -ne 0 && echo "Failure in testcase 2! Remove the corefile!"