Overview
Comment:Cospetic change to message
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: a38403cda16d3ab482cc6eff9b44b23913f54f399b32b9b2f4d3b8e734c7fa60
User & Date: gawthrop@users.sourceforge.net on 1998-03-06 17:14:09
Other Links: branch diff | manifest | tags
Context
1998-03-07
12:49:31
Initial revision check-in: d0e84b9fcf user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-03-06
17:14:09
Cospetic change to message check-in: a38403cda1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:54:41
Put message bcak in in simpler form check-in: edca0fca6a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_error from [c570eec722] to [92fe21cdaa].

10
11
12
13
14
15
16



17
18
19
20
21
22
23
# Copyright (c) P.J.Gawthrop, 1996

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



## Revision 1.5  1998/03/05 10:14:37  peterg
## Toned down the error warning message
##
## Revision 1.4  1998/02/26 10:21:51  peterg
## Revised to take account of new (??) wc output - now echos the file
## name (??)
##







>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (c) P.J.Gawthrop, 1996

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.6  1998/03/05 10:17:41  peterg
## Cosmetic change
##
## Revision 1.5  1998/03/05 10:14:37  peterg
## Toned down the error warning message
##
## Revision 1.4  1998/02/26 10:21:51  peterg
## Revised to take account of new (??) wc output - now echos the file
## name (??)
##
34
35
36
37
38
39
40
41
42
43
44
45
46
47

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 INFORMATION: An MTT transformation has generated the following messages 
  echo which may not be important
  cat $error_file
  exit 1
else
  exit 0
fi







|
|





37
38
39
40
41
42
43
44
45
46
47
48
49
50

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 "INFORMATION: An MTT transformation has generated the following messages"
  echo "             (which may not be important)"
  cat $error_file
  exit 1
else
  exit 0
fi


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]