From: Marius Gavrilescu Date: Wed, 26 Mar 2014 20:21:03 +0000 (+0200) Subject: Normalize outputs correctly in Runner::File X-Git-Tag: 5999.000_003~23 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=ce50c40d6ff3baa2a150108fb9c982fefd280bef;p=gruntmaster-daemon.git Normalize outputs correctly in Runner::File --- diff --git a/lib/Gruntmaster/Daemon/Runner/File.pm b/lib/Gruntmaster/Daemon/Runner/File.pm index bfa9a05..9193861 100644 --- a/lib/Gruntmaster/Daemon/Runner/File.pm +++ b/lib/Gruntmaster/Daemon/Runner/File.pm @@ -27,8 +27,8 @@ sub run{ $out =~ s/^\s+//; $ok =~ s/^\s+//; - $out =~ s/\s+/ /; - $ok =~ s/\s+/ /; + $out =~ s/\s+/ /g; + $ok =~ s/\s+/ /g; $out =~ s/\s+$//; $ok =~ s/\s+$//;