summaryrefslogtreecommitdiff
path: root/bin/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/run.sh')
-rwxr-xr-xbin/run.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/run.sh b/bin/run.sh
index e9fbde68..2c42de8e 100755
--- a/bin/run.sh
+++ b/bin/run.sh
@@ -11,5 +11,9 @@ type -P node &>/dev/null || {
exit 1
}
-cd ../node
+if [ -d "../bin" ]; then
+ cd "../"
+fi
+
+cd "node"
node server.js