From 642892c7e30abdb601f8a935c1b7488662fcded9 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Sat, 19 Nov 2011 23:11:37 -0500 Subject: [PATCH] oops, accidently committed the Hydra setpath.sh script --- setpath.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/setpath.sh b/setpath.sh index 437492fe..98fc7950 100755 --- a/setpath.sh +++ b/setpath.sh @@ -1,4 +1,9 @@ #!/bin/bash -export PATH=`pwd`/dist:/hydra/S1/local/bin:/hydra/S1/local/python271/bin:$PATH -export LD_LIBRARY_PATH=`pwd`/dist:/hydra/S1/local/gcc461/lib64:`pwd`/dist:/hydra/S1/local/gcc461/lib:/hydra/S1/local/python271/lib/:/hydra/S1/local/mitsuba/lib/:/hydra/S1/local/mitsuba/lib64/:$LD_LIBRARY_PATH - +unamestr=`uname` +if [[ "$unamestr" == 'Darwin' ]]; then + export PATH=`pwd`/Mitsuba.app/Contents/MacOS:$PATH +else + export LD_LIBRARY_PATH=`pwd`/dist + export PATH=`pwd`/dist:$PATH + ulimit -c 1000000000 +fi