aboutsummaryrefslogtreecommitdiff
path: root/perl/cgi.pl
diff options
context:
space:
mode:
Diffstat (limited to 'perl/cgi.pl')
-rwxr-xr-xperl/cgi.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/cgi.pl b/perl/cgi.pl
index fc8e466..14bb100 100755
--- a/perl/cgi.pl
+++ b/perl/cgi.pl
@@ -113,6 +113,7 @@ sub GN::cgi {
}
sub GN::init() {
+ my $root = GIT_ROOT;
my %data = (
found => 0,
);
@@ -126,7 +127,6 @@ sub GN::init() {
}
sub GN::main() {
- my $root = GIT_ROOT;
my ($data, $routes, $routes_cache) = GN::init();
GN::cgi($data, $routes, $routes_cache);
}