Overview
| Comment: | Revised to take account of new (??) wc output - now echos the file name (??) |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
d20849d6d20ec57c5ac90299129ff398 |
| User & Date: | gawthrop@users.sourceforge.net on 1998-02-26 10:21:51.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1998-02-26
| ||
| 15:12:26 | Removed parameter stuff check-in: 4e927073f2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 10:21:51 |
Revised to take account of new (??) wc output - now echos the file name (??) check-in: d20849d6d2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
1998-02-25
| ||
| 22:12:07 | Added , to regexp for subscripts check-in: 5c6f9d7739 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/mtt_error
from [f869052726]
to [63df9da021].
| ︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # Copyright (c) P.J.Gawthrop, 1996 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.2 1996/08/26 09:46:37 peterg ## Changed $() to `` ## # Revision 1.1 1996/08/25 09:20:00 peter # Initial revision # ############################################################### error_file=$1; # Test for errors and print if any | > > > | < | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# Copyright (c) P.J.Gawthrop, 1996
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## 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 ``
##
# Revision 1.1 1996/08/25 09:20:00 peter
# Initial revision
#
###############################################################
error_file=$1;
# 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 '...'
cat $error_file
exit 1
else
exit 0
|
| ︙ | ︙ |