diff --git a/c_gui/CASAManager.sh b/c_gui/CASAManager.sh index 1a17f674..336b2a48 100644 --- a/c_gui/CASAManager.sh +++ b/c_gui/CASAManager.sh @@ -1,3 +1,11 @@ #!/bin/sh -export MONO_PATH=/opt/novell/CASA/lib/ +HOST_ARCH=`uname -a | grep -c x86_64` +if [ $HOST_ARCH -gt 0 ] +then ARCH_LIB=64 +else +ARCH_LIB= +fi + + +export MONO_PATH=/opt/novell/CASA/lib$ARCH_LIB/ mono /opt/novell/CASA/bin/CASAManager.exe & diff --git a/c_micasad/startup/micasad.sh b/c_micasad/startup/micasad.sh index 12aa945e..e633af64 100644 --- a/c_micasad/startup/micasad.sh +++ b/c_micasad/startup/micasad.sh @@ -1,3 +1,11 @@ #!/bin/sh -export MONO_PATH=/opt/novell/CASA/lib +HOST_ARCH=`uname -a | grep -c x86_64` +if [ $HOST_ARCH -gt 0 ] +then ARCH_LIB=64 +else +ARCH_LIB= +fi + + +export MONO_PATH=/opt/novell/CASA/lib$ARCH_LIB/ mono /opt/novell/CASA/bin/micasad.exe