diff options
author | Lukas Martini <lukas.martini@unionhost.de> | 2011-04-07 19:54:41 +0200 |
---|---|---|
committer | Lukas Martini <lukas.martini@unionhost.de> | 2011-04-07 19:54:41 +0200 |
commit | debbced1851e884354d6dbf68982199f85ad2c7c (patch) | |
tree | 75528b70b3c0078c7658b8f1e98806fef7dcdf78 /bin/run.sh | |
parent | de967c1cd5e186f19caacb35ff471f8aa62a877c (diff) | |
download | etherpad-lite-debbced1851e884354d6dbf68982199f85ad2c7c.zip |
Fixing scripts to run from both bin/ and /.
Diffstat (limited to 'bin/run.sh')
-rwxr-xr-x | bin/run.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -11,5 +11,9 @@ type -P node &>/dev/null || { exit 1 } -cd ../node +if [ -d "../bin" ]; then + cd "../" +fi + +cd "node" node server.js |