From 3112a5ccf506e9c531e9d2102c39f9f36313d880 Mon Sep 17 00:00:00 2001 From: eschnett Date: Mon, 12 Dec 2011 20:19:58 +0000 Subject: Use KRANCPATH if it is set git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/WeylScal4/trunk@90 4f5cb9a8-4dd8-4c2d-9bbd-173fa4467843 --- m/runmath.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/m/runmath.sh b/m/runmath.sh index 3c7615b..21ad75b 100755 --- a/m/runmath.sh +++ b/m/runmath.sh @@ -17,7 +17,8 @@ output=$(basename $script .m).out rm -f $output # Run Kranc to regenerate the code -../../../../repos/Kranc/Bin/kranc $script | tee $error +: ${KRANCPATH=../../../../repos/Kranc} +${KRANCPATH}/Bin/kranc $script | tee $error [ $PIPESTATUS -eq 0 ] || exit $PIPESTATUS mv $error $output -- cgit v1.2.3