diff --git a/src/gitolite.pm b/src/gitolite.pm index 3553c47..8120526 100644 --- a/src/gitolite.pm +++ b/src/gitolite.pm @@ -476,7 +476,7 @@ sub setup_git_configs next if $key =~ /^gitolite-options\./; if ($value ne "") { $value =~ s/^['"](.*)["']$/$1/; - $value =~ s/%GL_REPO/$ENV{GL_REPO}/; + $value =~ s/%GL_REPO/$repo/; system("git", "config", $key, $value); } else { system("git", "config", "--unset-all", $key);