From e91e8c80d9d38fa38b72c02eb691471f0a6f2d36 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Wed, 17 Mar 2010 20:36:51 +0530 Subject: [PATCH] minor oopsie in post-update hook chaining --- hooks/gitolite-admin/post-update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hooks/gitolite-admin/post-update b/hooks/gitolite-admin/post-update index 752c212..2230efc 100755 --- a/hooks/gitolite-admin/post-update +++ b/hooks/gitolite-admin/post-update @@ -7,6 +7,8 @@ GIT_WORK_TREE=$GL_ADMINDIR git checkout -f master cd $GL_ADMINDIR $GL_BINDIR/gl-compile-conf +cd - + if [[ -f hooks/post-update.secondary ]] || [[ -L hooks/post-update.secondary ]] then exec hooks/post-update.secondary "$@"