#!/bin/sh dir=`git rev-parse --show-toplevel` if [ -z $dir ]; then exit 1 fi echo -n Checking JSON parses.. $dir/util/json_lint.sh if [ $? -eq 0 ]; then echo . it does! else exit 1 fi