]> iEval git - gruntmaster-daemon.git/commitdiff
Fix contest job log updating
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 29 Jan 2014 23:11:41 +0000 (01:11 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 29 Jan 2014 23:11:41 +0000 (01:11 +0200)
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.020273 seconds and 4 git commands to generate.