Overview
Comment:Initial revision
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 643c8906da0a5d89cc3235286237a79c338d7da0d1a2d796d4b35bc0a8ba5c1f
User & Date: gawthrop@users.sourceforge.net on 1996-08-25 09:20:00
Other Links: branch diff | manifest | tags
Context
1996-08-25
09:20:32
General error handling. check-in: 6480812feb user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:20:00
Initial revision check-in: 643c8906da user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:38:14
Error handling added. check-in: 1ee6a53a73 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/mtt_error version [a0b039f697].





























































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: mtt_error
# Does the error handing for transformations and forces error exit.
# P.J.Gawthrop  August 1996
# Copyright (c) P.J.Gawthrop, 1996

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

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 ]