From: Marius Gavrilescu Date: Wed, 29 Jan 2014 23:11:41 +0000 (+0200) Subject: Fix contest job log updating X-Git-Tag: 5999.000_001~24 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=0e0e340daa84b18dba18652ad277fa9250d313ee;p=gruntmaster-daemon.git Fix contest job log updating --- diff --git a/lib/Gruntmaster/Daemon.pm b/lib/Gruntmaster/Daemon.pm index 3b3f5be..d636965 100644 --- a/lib/Gruntmaster/Daemon.pm +++ b/lib/Gruntmaster/Daemon.pm @@ -129,7 +129,7 @@ sub process{ set_job_results $job, \@full_results if scalar @full_results; set_job_errors $job, $errors; - my $log = $meta->{contest} ? "ct/$meta->{contest}/log" : 'log'; + my $log = $Gruntmaster::Data::contest ? "ct/$Gruntmaster::Data::contest/log" : 'log'; PUBLISH gensrc => $job; PUBLISH genpage => "$log/job/$job.html"; PUBLISH genpage => "$log/index.html";