#!/bin/sh## Script to install the git hooks# by symlinking them into the .git/hooks directory## Usage (from within git-tools/hooks):# ./installdir=$(dirname$0)forfilein$(ls$dir)doif[$file!="install"]&&[$file!="uninstall"]thenln-s"../../git-tools/hooks/$file""$dir/../../.git/hooks/$file"fidone