Skip to content

Commit

Permalink
Updated wrapper for FreeBSD/OS X compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Robinson authored and dominictarr committed Oct 26, 2011
1 parent 432374e commit 28ee6df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/json_parse
@@ -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 28ee6df

Please sign in to comment.