blob: f2268a28ab9edf26cdd63e15490801995babcafc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
# gentoo-infra: infra/githooks.git:local/pre-receive
HOOKS="
hooks/pre-receive.gentoo-news
"
stdin=$(cat)
for hook in $HOOKS; do
if [ -x "${hook}" ]; then
echo "${stdin}" | ./$hook
fi
done
|