Use local jq if available on Mac.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
Jacob Kiers 2014-06-25 18:09:27 +02:00
parent f91e0e90ab
commit 646138bb6b

2
bin/jq
View File

@ -1,7 +1,7 @@
#!/bin/bash
if [ `uname` == 'Darwin' ]; then
jq $@
/usr/local/bin/jq $@
else
jq-linux $@
fi