new_maemian got moved to minimae, which is the new working frontend for maemian.
[maemian] / lib / Maemian / Command.pm
index 46c361d..c7b76e7 100644 (file)
@@ -59,8 +59,8 @@ Maemian::Command - Utilities to execute other commands from lintian code
 
 =head1 DESCRIPTION
 
-Maemian::Command is a thin wrapper around IPC::Run, that catches exception
-and implements a useful default behaviour for input and output redirection.
+Maemian::Command is a thin wrapper around IPC::Run, that catches exceptions
+and implements useful default behaviour for input and output redirection.
 
 Maemian::Command provides a function spawn() which is a wrapper
 around IPC::Run::run() resp. IPC::Run::start() (depending on whether a
@@ -219,13 +219,13 @@ sub spawn {
             and !$opts->{success}) {
        require Util;
        if ($opts->{description}) {
-           Util::fail("$opts->{description} failed with error code ".
-                      $opts->{harness}->result);
+         Util::fail("$opts->{description} failed with error code ".
+                    $opts->{harness}->result);
        } elsif (@cmds == 1) {
-           Util::fail("$cmds[0][0] failed with error code ".
-                      $opts->{harness}->result);
+         Util::fail("$cmds[0][0] failed with error code ".
+                    $opts->{harness}->result);
        } else {
-           Util::fail("command failed with error code ".
+         Util::fail("command failed with error code ".
                       $opts->{harness}->result);
        }
     }
@@ -283,7 +283,7 @@ sub reap {
                Util::fail("$opts->{description} failed with error code ".
                           $opts->{harness}->result);
            } else {
-               Util::fail("command failed with error code ".
+             Util::fail("command failed with error code ".
                           $opts->{harness}->result);
            }
        }