Browse Source

Fixed bin/server script to work when invoked from any directory

Nicolas Petton 13 years ago
parent
commit
a856821ce4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      bin/server

+ 2 - 1
bin/server

@@ -1,2 +1,3 @@
 #!/bin/bash
-node server/server.js
+cd `dirname $0`
+node ../server/server.js