Fix contest job log updating
[gruntmaster-daemon.git] / lib / Gruntmaster / Daemon.pm
index 3b3f5be619fb032520f9a73fb7dd4479f5108829..d6369656337bdf37152c0b1d950317fdce3496fc 100644 (file)
@@ -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";
This page took 0.011945 seconds and 4 git commands to generate.