From ad6f2c955a831aae2bb5d27979f0b04d768867c7 Mon Sep 17 00:00:00 2001 From: kohleman <kohleman> Date: Fri, 23 Jul 2010 08:54:00 +0000 Subject: [PATCH] cover diefferent ln locations depending on OS SVN: 17170 --- .../source/bash/service_properties_backup.sh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/openbis_all/source/bash/service_properties_backup.sh b/openbis_all/source/bash/service_properties_backup.sh index f16aa877ef4..6d11fdc6c57 100644 --- a/openbis_all/source/bash/service_properties_backup.sh +++ b/openbis_all/source/bash/service_properties_backup.sh @@ -20,14 +20,13 @@ export DSS_PRODUCTIVE=~openbis/sprint/datastore_server/etc/service.properties export MAIL_LIST="manuel.kohler@bsse.ethz.ch" export BOX=`uname -n` export PLATFORM=`uname -s` -export LN=/usr/bin/ln - -#if [ $PLATFORM = "SunOS" ]; -#then -# export MAILX="/usr/bin/mailx" -#else -# export MAILX="/bin/mail" -#fi + +if [ $PLATFORM = "SunOS" ]; +then + export LN=/usr/bin/ln +else + export LN=/bin/ln +fi umask 077 -- GitLab