#!/bin/sh file=`mktemp -t git-pre-receive.XXXXXX` || exit $? cat >$file "$PWD"/hooks/build-pre-receive <$file rm -f $file