gitea/tests/gitea-repositories-meta/user2/repo1.git/hooks/proc-receive
2024-08-20 14:17:21 +08:00

8 lines
184 B
Bash
Executable File

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