diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 16:01:48 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 16:01:48 +0200 |
commit | 480f994ee6d876c5989d6009bc19a1f207d5c294 (patch) | |
tree | 87f8ee05d3721eec950124057a5cf29cc0b6bcb3 /support | |
parent | 38146faa9769f52557fcaa666aaa5873f29a6505 (diff) | |
download | gitlab-shell-480f994ee6d876c5989d6009bc19a1f207d5c294.tar.gz |
Fix rewrite hook script
Diffstat (limited to 'support')
-rwxr-xr-x | support/rewrite-hooks.sh | 4 |
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 |