aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@4f5cb9a8-4dd8-4c2d-9bbd-173fa4467843>2011-12-12 20:19:58 +0000
committereschnett <eschnett@4f5cb9a8-4dd8-4c2d-9bbd-173fa4467843>2011-12-12 20:19:58 +0000
commit3112a5ccf506e9c531e9d2102c39f9f36313d880 (patch)
tree10e7434f8569ab5d9b00d9515e8595d6f4d3fea1
parent197d563bcfce4b13b85d9ff9e2c7020862205041 (diff)
Use KRANCPATH if it is set
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/WeylScal4/trunk@90 4f5cb9a8-4dd8-4c2d-9bbd-173fa4467843
-rwxr-xr-xm/runmath.sh3
1 files changed, 2 insertions, 1 deletions
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