summaryrefslogtreecommitdiffstats
path: root/util/git-hooks/wrapper.sh
blob: 3fc3e05c6bd61fabe77acb48cf18081dc4d82832 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

if [ -x $0.local ]; then
	$0.local "$@" || exit $?
fi

hook=$(git rev-parse --show-toplevel)"/util/git-hooks/"$(basename $0)
if [ -x $hook ]; then
	$hook "$@" || exit $?
fi
OpenPOWER on IntegriCloud