Browse Source

Var name mistake

spesk1 4 years ago
parent
commit
9d3586fee9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Gsg/Html.pm

+ 1 - 1
lib/Gsg/Html.pm

@@ -42,7 +42,7 @@ sub write_root_index($$$$) {
 	append_file("<html><body><b>Git Projects</b><br><head><META NAME=\"ROBOTS\" CONTENT=\"NOINDEX, NOFOLLOW\"></head>\n",$index);
 	append_file("<small><i>Statically generated web root for browsing this git server</i></small><br>\n",$index);
 	my $date_cmd = findBin("date",$logger);
-	my $current_time = `$dateCmd`;
+	my $current_time = `$date_cmd`;
 	chomp $current_time;
 	append_file("<small><i>Generated at $current_time</i></small><br><hr/>\n",$index);