Overview
Comment:Put "" round if argument in case $err_length is null.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: b7b6feeb727b855d308b8cbfabb8bfa10cda039b4e9e5a4b2f1468b6c75e4c82
User & Date: gawthrop@users.sourceforge.net on 1998-02-25 21:35:00
Other Links: branch diff | manifest | tags
Context
1998-02-25
22:09:48
Added simpar representation. check-in: 31c3736437 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
21:35:00
Put "" round if argument in case $err_length is null. check-in: b7b6feeb72 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:03:49
Removed the argument reading bits. check-in: a89d7bde33 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_error from [fa9d93d4c2] to [f869052726].

10
11
12
13
14
15
16



17
18
19
20
21
22
23
24
25

26
27
28
29
30
31
32
33
# Copyright (c) P.J.Gawthrop, 1996

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



# 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`

if [ $err_length != "0" ]
then
  echo MTT has failed with the following errors '...'
  cat $error_file
  exit 1
else
  exit 0
fi







>
>
>









>
|







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
# 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
err_length=`wc -c <$error_file`

if [ "$err_length" != "0" ]
then
  echo MTT has failed with the following errors '...'
  cat $error_file
  exit 1
else
  exit 0
fi


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