Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.264 2000/09/15 08:37:27 peterg +## Fixed bug using -sub in cbg view +## ## Revision 1.263 2000/09/15 07:33:35 peterg ## Replace fig2dev language eps by ps to avoid version problem. ## ## Revision 1.262 2000/09/14 17:16:33 peterg ## Fixes some outstanding bugs: @@ -889,11 +892,11 @@ #Check $MTTPATH has been set mtt_check_var "$MTTPATH" "MTTPATH" #Version -version='4.6' +version='4.7' # MTT recursion level is zero unless explicitly set level=0 #Computation mode is octave by default @@ -1510,10 +1513,18 @@ # Tidy mode - operate in the directory MTT-work if [ "$tidy" = "tidy" ]; then mkdir -p MTT_work cp -p -u Makefile Make *.* .* MTT_work 2>/dev/null cd MTT_work + + if [ -f ".octaverc" ]; then + touch .octaverc + else + echo Copying .octaverc + cp $MTT_LIB/octave/.octaverc . + fi + if [ -z "$directory" ]; then Directory='' else Directory=$directory/MTT_work fi