fixed issue # 64, making the shell scripts more portable (for OS X)
This commit is contained in:
parent
e510f567b9
commit
c984f496c2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue