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 |