From 0e0e340daa84b18dba18652ad277fa9250d313ee Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Thu, 30 Jan 2014 01:11:41 +0200 Subject: [PATCH] Fix contest job log updating --- lib/Gruntmaster/Daemon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.2