Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.269 2000/09/30 14:12:03 peterg +## Fixed bug with no-parameter systems - changed mtt_txt2m and mtt_m2p +## ## Revision 1.268 2000/09/27 16:15:55 peterg ## Now sh (as opposed to bash) compatible - fixed dat22dat again ## ## Revision 1.267 2000/09/21 10:08:30 peterg ## Version 4.7.1 - bug in odes.dat representation fixed in dat22dat @@ -1142,21 +1145,21 @@ exit fi if [ "$1" = "hinfo" ] && [$2 = ""]; then mtt_check_var "$HTMLVIEW" HTMLVIEW - (cd $MTTPATH/doc/; make --silent mtt.html) + (cd $MTT_DOC/; make --silent mtt.html) echo Invoking $HTMLVIEW - (cd $MTTPATH/doc; $HTMLVIEW ./mtt.html)& + (cd $MTT_DOC; $HTMLVIEW ./mtt.html)& exit fi if [ "$1" = "manual" ] && [$2 = ""]; then mtt_check_var "$PDFVIEW" PDFVIEW - (cd $MTTPATH/doc/; make --silent mtt.pdf) + (cd $MTT_DOC/; make --silent mtt.pdf) echo Invoking $PDFVIEW - $PDFVIEW $MTTPATH/doc/mtt.pdf & + $PDFVIEW $MTT_DOC/mtt.pdf & exit fi if [ $1 = "find" ]&& [$3 = ""]; then mtt_find $MTT_COMPONENTS $2 @@ -1313,11 +1316,11 @@ # Copy systems from the example library if [ "$1" = "copy" ]; then #set up source and destination dirs source=$3 if [ -z "$source" ]; then - source=$MTTPATH/lib/examples + source=$MTT_Examples fi destination=$4 if [ -z "$destination" ]; then destination=$2 fi @@ -1328,11 +1331,11 @@ echo System $2 exists already - no action taken fi else source=$3 if [ -z "$source" ]; then - source=$MTTPATH/lib/examples + source=$MTT_EXAMPLES fi destination=$4 if [ -z "$destination" ]; then destination=$2 fi @@ -1397,11 +1400,11 @@ echo $2.cr or $2_cr.r exists already - no action taken fi else path_name=$3 if [ -z "$path_name" ]; then - path_name=$MTTPATH/lib/cr/r + path_name=$MTT_LIB/cr/r fi echo Copying CR $2 to here from $3 find $path_name -name "$2.cr" -exec cp {} . \; fi exit