Permalink
Browse files

Updated wrapper for FreeBSD/OS X compatibility

  • Loading branch information...
1 parent 65b1ddd commit 6c995fefe7808c9ee3cb90bb90a03d9c2e882787 Nicholas Robinson committed Oct 25, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/json_parse
View
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#add this feature to require...
-__filename=`readlink -f $0`
-. `dirname $__filename`/../parse.sh
-tokenize | parse
+__filename=$(cd "$(dirname "$0")"; pwd)
+. $__filename/../parse.sh
+tokenize | parse

0 comments on commit 6c995fe

Please sign in to comment.