diff --git a/bin/debugRun.sh b/bin/debugRun.sh index fede0b50b..64b797be8 100755 --- a/bin/debugRun.sh +++ b/bin/debugRun.sh @@ -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 diff --git a/bin/generateJsDoc.sh b/bin/generateJsDoc.sh index 1667c1ccc..8704d5ad0 100755 --- a/bin/generateJsDoc.sh +++ b/bin/generateJsDoc.sh @@ -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 diff --git a/bin/installDeps.sh b/bin/installDeps.sh index 2c880896c..c9f563929 100755 --- a/bin/installDeps.sh +++ b/bin/installDeps.sh @@ -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 diff --git a/bin/run.sh b/bin/run.sh index b5f851610..994f5d810 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -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 diff --git a/bin/safeRun.sh b/bin/safeRun.sh index d7d2b99cc..b060f5d19 100755 --- a/bin/safeRun.sh +++ b/bin/safeRun.sh @@ -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