Index: mttroot/mtt/bin/trans/mtt_error ================================================================== --- mttroot/mtt/bin/trans/mtt_error +++ mttroot/mtt/bin/trans/mtt_error @@ -12,10 +12,14 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.4 1998/02/26 10:21:51 peterg +## Revised to take account of new (??) wc output - now echos the file +## name (??) +## ## Revision 1.3 1998/02/25 21:35:00 peterg ## Put "" round if argument in case $err_length is null. ## ## Revision 1.2 1996/08/26 09:46:37 peterg ## Changed $() to `` @@ -29,11 +33,12 @@ # Test for errors and print if any err_length=`wc -c <$error_file | awk '{print $1}'` if [ "$err_length" != "0" ] then - echo MTT has failed with the following errors '...' + echo An MTT transformation has generated the following messages + echo which may not be important cat $error_file exit 1 else exit 0 fi