oops; the $repo argument to PRE_ and POST_GIT triggers was wrong!

This commit is contained in:
Sitaram Chamarty 2012-03-20 12:51:00 +05:30
parent 1de773ab8e
commit bc2bd7a78c

View file

@ -82,9 +82,9 @@ sub main {
trigger( 'ACCESS_CHECK', $repo, $user, $aa, 'any', $ret );
_die $ret if $ret =~ /DENIED/;
$repo = "'$rc{GL_REPO_BASE}/$repo.git'";
trigger( 'PRE_GIT', $repo, $user, $aa, 'any', $verb );
_system( "git", "shell", "-c", "$verb $repo" );
my $repodir = "'$rc{GL_REPO_BASE}/$repo.git'";
_system( "git", "shell", "-c", "$verb $repodir" );
trigger( 'POST_GIT', $repo, $user, $aa, 'any', $verb );
}