diff options
author | Garrett LeSage <garrett@lesage.us> | 2011-08-03 23:08:27 +0200 |
---|---|---|
committer | Garrett LeSage <garrett@lesage.us> | 2011-08-03 23:08:27 +0200 |
commit | c984f496c2f39d7ea296c378e6274bfbc6768a4f (patch) | |
tree | 9c5e6dcefa27ef117a07c29b4899726a7fc4aea2 | |
parent | e510f567b9efad93d067b18098858e44bc245707 (diff) | |
download | etherpad-lite-c984f496c2f39d7ea296c378e6274bfbc6768a4f.zip |
fixed issue # 64, making the shell scripts more portable (for OS X)
-rwxr-xr-x | bin/debugRun.sh | 3 | ||||
-rwxr-xr-x | bin/generateJsDoc.sh | 3 | ||||
-rwxr-xr-x | bin/installDeps.sh | 3 | ||||
-rwxr-xr-x | bin/run.sh | 3 | ||||
-rwxr-xr-x | bin/safeRun.sh | 3 |
5 files changed, 5 insertions, 10 deletions
diff --git a/bin/debugRun.sh b/bin/debugRun.sh index fede0b50..64b797be 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 1667c1cc..8704d5ad 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 2c880896..c9f56392 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 @@ -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 d7d2b99c..b060f5d1 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 |