From 880566c1cec49636829ecd5ecae4c541e7155747 Mon Sep 17 00:00:00 2001 From: ervandew Date: Sun, 24 Jul 2011 17:50:37 -0700 Subject: [PATCH] improve darwin detection in eclimd --- src/shell/eclimd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/eclimd b/src/shell/eclimd index 79370727f..91e0a4048 100755 --- a/src/shell/eclimd +++ b/src/shell/eclimd @@ -97,7 +97,7 @@ build_vmargs(){ fi # for osx - if [ "`echo $OSTYPE | sed 's|[0-9][0-9]*\.[0-9][0-9]*||'`" = "darwin" ] ; then + if `uname -a | grep -iq "darwin"` ; then ECLIM_VMARGS="$ECLIM_VMARGS -XstartOnFirstThread" # check if attempting to use 64bit jvm to run 32bit eclipse