1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00

Fix hooks for integration repo (#2216)

This commit is contained in:
Ethan Koenig
2017-07-26 23:12:56 -07:00
committed by Lunny Xiao
parent a27863b6d1
commit aff11bc65e
7 changed files with 30 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
ORI_DIR=`pwd`
SHELL_FOLDER=$(cd "$(dirname "$0")";pwd)
cd "$ORI_DIR"
for i in `ls "$SHELL_FOLDER/pre-receive.d"`; do
sh "$SHELL_FOLDER/pre-receive.d/$i"
done