Index: runmath.sh =================================================================== --- runmath.sh (revision 58) +++ runmath.sh (working copy) @@ -22,11 +22,11 @@ # choice 2 and 3 are $CCTK_HOME if the thorn resides in arrangements or # git-repos for i in ${KRANCPATHS[@]} ; do - if [ -d $i/kranc/Tools ] ; then - KRANCPATH=$i/kranc + if [ -d $i/repos/Kranc/Tools ] ; then + KRANCPATH=$i/repos/Kranc break - elif [ -d $i/Kranc/Tools ] ; then - KRANCPATH=$i/Kranc + elif [ -d $i/repos/kranc/Tools ] ; then + KRANCPATH=$i/repos/kranc break fi done @@ -55,6 +55,8 @@ echo -e "Could not find Kranc. Expect trouble unless you have made sure Mathematica\nwill find Kranc. You might also consider setting \$KRANCPATH." fi +echo "MATHPATH = $MATHPATH" + error=$(basename $script .m).err output=$(basename $script .m).out