From: Marius Gavrilescu Date: Wed, 29 Jan 2014 10:13:33 +0000 (+0200) Subject: Fix bugs in gruntmater-genallpages' X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=df8150ae22d428b1710b2a398a01d692d532bdfc;p=plack-app-gruntmaster.git Fix bugs in gruntmater-genallpages' --- diff --git a/gruntmaster-genallpages b/gruntmaster-genallpages index ea15578..2d1709e 100755 --- a/gruntmaster-genallpages +++ b/gruntmaster-genallpages @@ -12,13 +12,13 @@ sub generate{ } generate "ct/index.html"; -generate "ct/$_/index.thml" for contests; +generate "ct/$_/index.html" for contests; generate "us/index.html"; generate "us/$_.html" for users; for my $ct (undef, contests) { - local $Gruntmaster::Data::contests = $ct; + local $Gruntmaster::Data::contest = $ct; my $ctp = defined $ct ? "ct/$ct/" : ''; generate "${ctp}log/st.html"; generate "${ctp}log/index.html";