#!/bin/sh # # To enable this hook, make this file executable. hook=$(basename $0) basedir=$(dirname $0) . $basedir/hook-functions einfo "Running $hook hooks" if [ -d $basedir/$hook.d/ ]; then for f in $basedir/$hook.d/* ; do if [ -x ${f} ]; then einfo " $hook hook: $(basename ${f})" ${f} $@ || exit 1 fi done else : fi exit 0