new_maemian got moved to minimae, which is the new working frontend for maemian.
[maemian] / lib / Maemian / Command.pm
index 053fb70..c7b76e7 100644 (file)
@@ -33,11 +33,11 @@ use IPC::Run qw(run harness kill_kill);
 
 =head1 NAME
 
-Lintian::Command - Utilities to execute other commands from lintian code
+Maemian::Command - Utilities to execute other commands from lintian code
 
 =head1 SYNOPSIS
 
-    use Lintian::Command qw(spawn);
+    use Maemian::Command qw(spawn);
 
     # simplest possible call
     my $success = spawn({}, ['command']);
@@ -59,10 +59,10 @@ Lintian::Command - Utilities to execute other commands from lintian code
 
 =head1 DESCRIPTION
 
-Lintian::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.
 
-Lintian::Command provides a function spawn() which is a wrapper
+Maemian::Command provides a function spawn() which is a wrapper
 around IPC::Run::run() resp. IPC::Run::start() (depending on whether a
 pipe is requested).  To wait for finished child processes, it also
 provides the reap() function as a wrapper around IPC::Run::finish().
@@ -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);
            }
        }
@@ -315,12 +315,12 @@ __END__
 
 =head1 EXPORTS
 
-Lintian::Command exports nothing by default, but you can export the
+Maemian::Command exports nothing by default, but you can export the
 spawn() and reap() functions.
 
 =head1 AUTHOR
 
-Originally written by Frank Lichtenheld <djpig@debian.org> for Lintian.
+Originally written by Frank Lichtenheld <djpig@debian.org> for Maemian.
 
 =head1 SEE ALSO