fixed issue # 64, making the shell scripts more portable (for OS X)

This commit is contained in:
Garrett LeSage 2011-08-03 23:08:27 +02:00
parent e510f567b9
commit c984f496c2
5 changed files with 5 additions and 10 deletions

View File

@ -1,8 +1,7 @@
#!/bin/sh
#Move to the folder where ep-lite is installed
FOLDER=$(dirname $(readlink -f $0))
cd $FOLDER
cd `dirname $0`
#Was this script started in the bin folder? if yes move out
if [ -d "../bin" ]; then

View File

@ -1,8 +1,7 @@
#!/bin/sh
#Move to the folder where ep-lite is installed
FOLDER=$(dirname $(readlink -f $0))
cd $FOLDER
cd `dirname $0`
#Was this script started in the bin folder? if yes move out
if [ -d "../bin" ]; then

View File

@ -1,8 +1,7 @@
#!/bin/sh
#Move to the folder where ep-lite is installed
FOLDER=$(dirname $(readlink -f $0))
cd $FOLDER
cd `dirname $0`
#Was this script started in the bin folder? if yes move out
if [ -d "../bin" ]; then

View File

@ -1,8 +1,7 @@
#!/bin/sh
#Move to the folder where ep-lite is installed
FOLDER=$(dirname $(readlink -f $0))
cd $FOLDER
cd `dirname $0`
#Was this script started in the bin folder? if yes move out
if [ -d "../bin" ]; then

View File

@ -18,8 +18,7 @@ TIME_BETWEEN_EMAILS=600 # 10 minutes
LAST_EMAIL_SEND=0
#Move to the folder where ep-lite is installed
FOLDER=$(dirname $(readlink -f $0))
cd $FOLDER
cd `dirname $0`
#Was this script started in the bin folder? if yes move out
if [ -d "../bin" ]; then