#!/bin/sh
dir=`git rev-parse --show-toplevel` if [ -z $dir ]; then exit 1 fi
echo -n Setting up hooks from git-hooks..
$dir/util/sync_hooks.sh >/dev/null
if [ $? -eq 0 ]; then echo . done. else exit 1 fi