Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated wrapper for FreeBSD/OS X compatibility

  • Loading branch information...
commit 28ee6dfd8c9501e9fede178495d9e61518c627ba 1 parent 432374e
Nicholas Robinson authored committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/json_parse
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.