Overview
Comment:Change test for "new" cr
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: b060ae7ea030c2555091f3a84a560d341e976d5f4906f03c6829aefb1ce62af7
User & Date: gawthrop@users.sourceforge.net on 2003-08-19 13:12:03.000
Other Links: branch diff | manifest | tags
Context
2003-08-19
13:12:49
Update check-in: 19fdf692aa user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:12:03
Change test for "new" cr check-in: b060ae7ea0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:10:47
More arg stuff check-in: 7f72461b30 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes
12
13
14
15
16
17
18



19
20
21
22
23
24
25
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28







+
+
+







# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.14  2002/05/09 15:52:09  gawthrop
## Now uses current cr file is its newer than abg.m
##
## Revision 1.13  2002/04/28 18:41:26  geraint
## Fixed [ 549658 ] awk should be gawk.
## Replaced calls to awk with call to gawk.
##
## Revision 1.12  2002/04/08 17:04:21  geraint
## Removed spurious "\n" from output.
##
81
82
83
84
85
86
87
88

89
90
91
92
93
94
95
84
85
86
87
88
89
90

91
92
93
94
95
96
97
98







-
+








level='' ## Used to be $2 - now set to null.

abgfile=$1_abg.m
crfile=$1_cr.r
CRFILE=$1_cr.r

if [ "$crfile" -nt "$abgfile" ]; then
if [ -f "$crfile" ]; then
    echo "Using    $crfile"
else
    # Inform user
    echo "Creating $crfile"

    echo "% Constitutive relation file for $1 ($crfile)" > $crfile
    echo "% Generated by MTT at `date`" >> $crfile

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