Skip to content

Commit

Permalink
allow parse.sh to be executed from any location
Browse files Browse the repository at this point in the history
  • Loading branch information
neonstalwart committed Mar 20, 2013
1 parent 1d33652 commit e9e5707
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion parse.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
#!/bin/bash
node parse.js $@

# Base directory for this entire project
BASEDIR=$(cd $(dirname $0) && pwd)

node $BASEDIR/parse.js $@

0 comments on commit e9e5707

Please sign in to comment.