浏览代码

Var name mistake

spesk1 5 年之前
父节点
当前提交
9d3586fee9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);