Overview
Comment: | Now stops if a transformation forces error. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a90effe8e3d77924cced0d40a80cc746 |
User & Date: | gawthrop@users.sourceforge.net on 1998-07-16 16:14:27 |
Other Links: | branch diff | manifest | tags |
Context
1998-07-16
| ||
16:31:47 | Initial revision check-in: 49a8051b7d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
16:14:27 | Now stops if a transformation forces error. check-in: a90effe8e3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
09:15:34 |
Now prints: dir name_lbl.txt access time check-in: c7f32f44c4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt from [c8a18e6920] to [3a050f08e5].
︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 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. ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.161 1998/07/08 11:21:32 peterg ## Added -I switch ## ## Revision 1.160 1998/07/04 11:38:51 peterg ## Version 3.0-- (Seascale) ## ## Revision 1.159 1998/07/04 11:37:43 peterg ## Aliases implemented for parameters + lots of associated goodies ## New-style lbl files - no more SS nonsense. ## |
︙ | |||
978 979 980 981 982 983 984 | 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 | - - - + | case $2 in abg ) REPTYPE='bg' ;; sabg ) REPTYPE='bg' ;; cbg ) REPTYPE='bg' ;; |
︙ | |||
1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 | 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 | + + + + + + + | if [ -z "$directory" ]; then Directory='' else Directory=$directory/MTT_work fi mtt -u -q $mtt_switches -S "$Directory" $1 $2 $3 $4 mtt_status=$? # Exit on failure if [ "mtt_status" != "0" ]; then echo Exiting mtt with status $mtt_status exit 1 fi if [ "$3" != "view" ]; then if [ "$3" != "hview" ]; then echo Copying $1_$2.$3 cp -u -p $1_$2.$3 .. if [ "$PLOTTYPE" = "multiple" ]; then |
︙ | |||
1088 1089 1090 1091 1092 1093 1094 | 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 | - + - + + + + | ################################ # This is the main mtt programme ################################ |
︙ | |||
1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 | 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 | + + + + + | echo Copying nrutil.c; cp $MTTPATH/trans/c/nrutil.c . nrutil.h: echo Copying nrutil.h; cp $MTTPATH/trans/c/nrutil.h . sign.c: echo Copying sign.c; cp $MTTPATH/trans/c/sign.c . EOF # Remember the exit status of make make_status=$? # Tidy up. # echo Removing log files and other garbage rm -f *_unique_raw_list *_raw_list rm -f mtt_error.txt mtt_info.txt a.out rm -f mtt_info.txt warning.txt # rm -f *_*.idx *_*.ind *_*.ilg *_*.lof *_*.toc # Remove logs if not debugging if [ "$debug" != "debug" ]; then rm -f *.log else echo Debugging - log files retained in LOGFILES mkdir -p LOGFILES mv -f *.log LOGFILES fi if [ "$make_status" != "0" ]; then exit 2 fi |