75fd8f6445
Backport https://github.com/go-gitea/gitea/pull/31207 by @lunny Fix https://github.com/go-gitea/gitea/issues/31134 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> --- Conflict resolution: none Modification: `s/assert.NoError/require.NoError` (cherry picked from commit a0d1630700073785baff4ebc3031b0480d44cc63)
7 lines
184 B
Bash
Executable file
7 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
|