Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## 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 @@ -792,11 +795,11 @@ #Check $MTTPATH has been set mtt_check_var "$MTTPATH" "MTTPATH" #Version -version='4.1' +version='4.1++' # MTT recursion level is zero unless explicitly set level=0 #Computation mode is octave by default @@ -940,11 +943,11 @@ 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 + echo " " current wd `pwd` fi #Check the principle paths mtt_check_vars $print @@ -1390,12 +1393,13 @@ # 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