summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 16:01:48 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 16:01:48 +0200
commit480f994ee6d876c5989d6009bc19a1f207d5c294 (patch)
tree87f8ee05d3721eec950124057a5cf29cc0b6bcb3
parent38146faa9769f52557fcaa666aaa5873f29a6505 (diff)
downloadgitlab-shell-480f994ee6d876c5989d6009bc19a1f207d5c294.tar.gz
Fix rewrite hook script
-rwxr-xr-xsupport/rewrite-hooks.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/rewrite-hooks.sh b/support/rewrite-hooks.sh
index b8fd36b..ad8b4e5 100755
--- a/support/rewrite-hooks.sh
+++ b/support/rewrite-hooks.sh
@@ -14,7 +14,7 @@ do
if [[ "$dir" =~ ^.*.git$ ]]
then
project_hook="$src/$dir/hooks/post-receive"
- gitolite_hook="/home/git/.gitolite/hooks/common/post-receive"
+ gitolite_hook="/home/git/gitlab-shell/hooks/post-receive"
ln -s -f $gitolite_hook $project_hook
else
@@ -22,7 +22,7 @@ do
do
if [ -d "$src/$dir/$subdir" ] && [[ "$subdir" =~ ^.*.git$ ]]; then
project_hook="$src/$dir/$subdir/hooks/post-receive"
- gitolite_hook="/home/git/.gitolite/hooks/common/post-receive"
+ gitolite_hook="/home/git/gitlab-shell/hooks/post-receive"
ln -s -f $gitolite_hook $project_hook
fi