From 93d8953c90aafdde894dfd3f6b6fd5ff14d705f6 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Thu, 25 Oct 2012 00:58:14 -0400 Subject: [PATCH] fixed setpath.csh script on OSX --- setpath.csh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setpath.csh b/setpath.csh index 85294649..401f273e 100755 --- a/setpath.csh +++ b/setpath.csh @@ -11,7 +11,7 @@ else endif set MITSUBA_DIR=`cd $reldir && pwd` -if ("$0" == "Darwin") then +if ("`uname`" == "Darwin") then setenv PATH "$MITSUBA_DIR/Mitsuba.app/Contents/MacOS:$PATH" else if (! ($?LD_LIBRARY_PATH) ) then