Overview
| Comment: | Replace $PWD with `pwd` for sh compatibility |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
257a6a65981c4dd753d01c99b7c463d8 |
| User & Date: | gawthrop@users.sourceforge.net on 2000-04-06 10:52:53.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2000-04-06
| ||
| 10:55:36 | Removed debug lines check-in: e042ac4799 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 10:52:53 | Replace $PWD with `pwd` for sh compatibility check-in: 257a6a6598 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 09:02:46 |
Removed bash let commands as unsupported by sh Do arithmetic within awk - yuk check-in: 9a22e99aae user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt
from [87488ffd21]
to [7e6ef6916b].
| ︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997,1998,1999 ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.233 2000/03/16 10:16:11 peterg ## Clean no longer zaps the abg.m files ## ## Revision 1.232 2000/03/16 09:43:35 peterg ## Put in $mtt_switches in mtt comand line when creating _state.txt and ## _input.txt ## | > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997,1998,1999 ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.234 2000/04/04 16:14:08 peterg ## Sorted mtt help ## ## Revision 1.233 2000/03/16 10:16:11 peterg ## Clean no longer zaps the abg.m files ## ## Revision 1.232 2000/03/16 09:43:35 peterg ## Put in $mtt_switches in mtt comand line when creating _state.txt and ## _input.txt ## |
| ︙ | ︙ | |||
790 791 792 793 794 795 796 | ############################################################### #Check $MTTPATH has been set mtt_check_var "$MTTPATH" "MTTPATH" #Version | | | 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 | ############################################################### #Check $MTTPATH has been set mtt_check_var "$MTTPATH" "MTTPATH" #Version version='4.1++' # MTT recursion level is zero unless explicitly set level=0 #Computation mode is octave by default computation=octave |
| ︙ | ︙ | |||
938 939 940 941 942 943 944 |
echo
fi
fi
#Print what's going on if in verbose mode
if [ -n "$Verbose" ]; then
echo Starting mtt $mtt_switches $1 $2 $3 $4 at level $level
| | | 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 |
echo
fi
fi
#Print what's going on if in verbose mode
if [ -n "$Verbose" ]; then
echo Starting mtt $mtt_switches $1 $2 $3 $4 at level $level
echo " " current wd `pwd`
fi
#Check the principle paths
mtt_check_vars $print
# Exit if just printing paths
if [ "$print" != "" ]; then
|
| ︙ | ︙ | |||
1388 1389 1390 1391 1392 1393 1394 1395 | mv $1_args.new $1_args.m fi # Tidy mode - operate in the directory MTT-work if [ "$tidy" = "tidy" ]; then mkdir -p MTT_work cp -p -u Makefile *.* .* MTT_work 2>/dev/null cd MTT_work | > | | 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 |
mv $1_args.new $1_args.m
fi
# Tidy mode - operate in the directory MTT-work
if [ "$tidy" = "tidy" ]; then
mkdir -p MTT_work
cp -p -u Makefile *.* .* MTT_work 2>/dev/null
echo now in `pwd`
cd MTT_work
echo now in `pwd`
if [ -z "$directory" ]; then
Directory=''
else
Directory=$directory/MTT_work
fi
mtt -u -q $mtt_switches -S "$Directory" $1 $2 $3 $4
|
| ︙ | ︙ |