dotfiles/bin/jq
Jacob Kiers 646138bb6b Use local jq if available on Mac.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-06-25 18:09:27 +02:00

8 lines
95 B
Bash
Executable File

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