Overview
Comment:Messages about copying when using -dr now only appear in verbose (-v) mode.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: d000204e8bd90bb82ee31d7f942ed6d9bb3fe13649b9c9095af0459de0cd9c8b
User & Date: gawthrop@users.sourceforge.net on 2002-05-17 11:15:38
Other Links: branch diff | manifest | tags
Context
2002-05-17
11:17:35
No longer uses df() if corresponding sensitivity parameter is 0. check-in: a29cbd4fd9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:15:38
Messages about copying when using -dr now only appear in verbose (-v) mode. check-in: d000204e8b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:14:58
Optimises each line in a separate session. Allows larger models to be built. check-in: 96490e7dda user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [af644c2eee] to [fdc609d20c].

13
14
15
16
17
18
19








20
21
22
23
24
25
26
# Copyright (C) 2001 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$








## Revision 1.344  2002/05/11 01:14:17  geraint
## Fix for [ 553218 ] simpar.oct and simpar.m different.
## Translation added between ColumnVector in base .cc and Octave_map in .oct.
##
## Revision 1.343  2002/05/10 14:07:16  geraint
## Preserve .cc files.
##







>
>
>
>
>
>
>
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright (C) 2001 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.345  2002/05/15 14:22:25  geraint
## Code for Simulink S-function target written direct to sfun.cc instead of
## calling .mexglx files. This eliminates the sfun dependency on Octave
## ColumnVectors. sys_sfun.cc should build directly on a MS Windows machine
## (can't test this yet).
##
## added sfun.zip target to create source code to export.
##
## Revision 1.344  2002/05/11 01:14:17  geraint
## Fix for [ 553218 ] simpar.oct and simpar.m different.
## Translation added between ColumnVector in base .cc and Octave_map in .oct.
##
## Revision 1.343  2002/05/10 14:07:16  geraint
## Preserve .cc files.
##
1978
1979
1980
1981
1982
1983
1984

1985
1986



1987
1988
1989
1990
1991
1992
1993
#fi

## If in MTT_work, then copy from -dr read dirs
this_dir=`basename $PWD`
if [ "${this_dir}" = "MTT_work" ]; then
  # Copy from read dirs to MTT_work
  for dir in ${read_dirs}; do

    echo Copying ${dir}/*
    cp --force ${dir}/* .



    read_files=`echo ${dir}/*`
    for read_file in ${read_files}; do
     read_file_name=`basename ${read_file}`
     touch ${read_file_name}
    done
   done
fi







>
|
|
>
>
>







1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
#fi

## If in MTT_work, then copy from -dr read dirs
this_dir=`basename $PWD`
if [ "${this_dir}" = "MTT_work" ]; then
  # Copy from read dirs to MTT_work
  for dir in ${read_dirs}; do
     if [ -n "$Verbose" ]; then
       echo Copying ${dir}/*
       cp --force ${dir}/* .
     else
       cp --force ${dir}/* . 2> /dev/null
     fi
    read_files=`echo ${dir}/*`
    for read_file in ${read_files}; do
     read_file_name=`basename ${read_file}`
     touch ${read_file_name}
    done
   done
fi
2053
2054
2055
2056
2057
2058
2059


2060
2061
2062
2063
2064
2065
2066
    rm -rf ../MTT_work
  fi
exit
fi 

# User defined representations
## Copy from library if not already here


if [ -f "$MTT_REP/$2_rep.make" ]; then
  if [ -f "$2_rep.make" ]; then
    echo Using $2_rep.make
  else
    echo Copying $2_rep.make from $MTT_REP
    cp $MTT_REP/$2_rep.make .
  fi







>
>







2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
    rm -rf ../MTT_work
  fi
exit
fi 

# User defined representations
## Copy from library if not already here

## .make versions
if [ -f "$MTT_REP/$2_rep.make" ]; then
  if [ -f "$2_rep.make" ]; then
    echo Using $2_rep.make
  else
    echo Copying $2_rep.make from $MTT_REP
    cp $MTT_REP/$2_rep.make .
  fi


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