summaryrefslogtreecommitdiffstats
path: root/integrations/gitea-repositories-meta/user13/repo11.git/hooks/pre-receive
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-05-08 01:20:23 +0800
committertechknowlogick <hello@techknowlogick.com>2019-05-07 13:20:23 -0400
commit9f18b231295a6282111a1f058f0c973da50b5fd4 (patch)
treeea90521aba7a1ca52c55cb61c6cb898b8d98c7f8 /integrations/gitea-repositories-meta/user13/repo11.git/hooks/pre-receive
parent9139f35ff62927d23ee7a590a0987e8c12127bea (diff)
downloadgitea-9f18b231295a6282111a1f058f0c973da50b5fd4.tar.gz
gitea-9f18b231295a6282111a1f058f0c973da50b5fd4.zip
Fix 404 when send pull request some situation (#6871)
Diffstat (limited to 'integrations/gitea-repositories-meta/user13/repo11.git/hooks/pre-receive')
-rwxr-xr-xintegrations/gitea-repositories-meta/user13/repo11.git/hooks/pre-receive7
1 files changed, 7 insertions, 0 deletions
diff --git a/integrations/gitea-repositories-meta/user13/repo11.git/hooks/pre-receive b/integrations/gitea-repositories-meta/user13/repo11.git/hooks/pre-receive
new file mode 100755
index 0000000000..4127013053
--- /dev/null
+++ b/integrations/gitea-repositories-meta/user13/repo11.git/hooks/pre-receive
@@ -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 \ No newline at end of file