aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2017-05-10 09:29:53 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2017-05-10 11:00:29 +0530
commitd77bf42c0ef81b3e03c538b3583a24cc0912fe98 (patch)
treecdf1f5edce28ecd59107c34734ce96e44a6afacd
parentFix SHA256 fingerprinting to match the full character set (diff)
downloadgitolite-gentoo-d77bf42c0ef81b3e03c538b3583a24cc0912fe98.tar.gz
gitolite-gentoo-d77bf42c0ef81b3e03c538b3583a24cc0912fe98.tar.bz2
gitolite-gentoo-d77bf42c0ef81b3e03c538b3583a24cc0912fe98.zip
allow the multi hook driver to be placed elsewhere
see https://groups.google.com/forum/#!topic/gitolite/-PvYRleGKHQ for details
-rwxr-xr-xsrc/triggers/repo-specific-hooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/triggers/repo-specific-hooks b/src/triggers/repo-specific-hooks
index 6e229ea..969c7e8 100755
--- a/src/triggers/repo-specific-hooks
+++ b/src/triggers/repo-specific-hooks
@@ -15,7 +15,7 @@ _chdir( $ENV{GL_REPO_BASE} );
@ARGV = ("gitolite list-phy-repos | gitolite git-config -ev -r % gitolite-options\\.hook\\. |");
-my $driver = "$rc{LOCAL_CODE}/hooks/multi-hook-driver";
+my $driver = $rc{MULTI_HOOK_DRIVER} || "$rc{LOCAL_CODE}/hooks/multi-hook-driver";
# Hook Driver
{
local $/ = undef;