X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FFormat.pm;h=5b5081e97a9682030d331074244c8adba9055478;hp=99fe5144c433f6f09ab652e5420f5ff2a355be3f;hb=42e80e2d00aa2c6b3a5c7b2ec96473296468bec9;hpb=064332cd403d5b205c43be0dee53c55ab399e395 diff --git a/lib/Gruntmaster/Daemon/Format.pm b/lib/Gruntmaster/Daemon/Format.pm index 99fe514..5b5081e 100644 --- a/lib/Gruntmaster/Daemon/Format.pm +++ b/lib/Gruntmaster/Daemon/Format.pm @@ -72,11 +72,10 @@ sub mkrun{ sub prepare{ my ($name, $format) = @_; - our $errors; get_logger->trace("Preparing file $name..."); - $errors .= `gruntmaster-compile $format $name 2>&1`; - $errors .= "\n"; + $Gruntmaster::Daemon::errors .= `gruntmaster-compile $format $name 2>&1`; + $Gruntmaster::Daemon::errors .= "\n"; die 'Compile error' if $? }