237 |
$command > make.log 2>&1 |
$command > make.log 2>&1 |
238 |
RETVAL=$? |
RETVAL=$? |
239 |
# Reduce the size of the testing emails! |
# Reduce the size of the testing emails! |
240 |
# cp Makefile $CDIR |
head -100 Makefile > $CDIR/Makefile_head |
241 |
if test "x$RETVAL" != x0 ; then |
if test "x$RETVAL" != x0 ; then |
242 |
tail make.log |
tail make.log |
243 |
echo "genmakemodel: genmake failed" 1>&2 |
echo "genmakemodel: genmake failed" 1>&2 |
422 |
printf 'runmodel ... ' 1>&2 |
printf 'runmodel ... ' 1>&2 |
423 |
# make output.txt |
# make output.txt |
424 |
echo |
echo |
425 |
|
rm -f run.log |
426 |
# echo "COMMAND='$COMMAND'" |
# echo "COMMAND='$COMMAND'" |
427 |
# echo "pwd='"`pwd`"'" |
# echo "pwd='"`pwd`"'" |
428 |
( eval $COMMAND ) >> run.log 2>&1 |
( eval $COMMAND ) > run.log 2>&1 |
429 |
RETVAL=$? |
RETVAL=$? |
430 |
if test "x$RETVAL" = x0 ; then |
if test "x$RETVAL" = x0 ; then |
431 |
|
tail run.log |
432 |
echo successful 1>&2 |
echo successful 1>&2 |
433 |
# === Reduce the size of the testing emails! |
# === Reduce the size of the testing emails! |
434 |
# if test "x$ADM" = x ; then |
# if test "x$ADM" = x ; then |