stas        2003/09/05 18:10:18

  Modified:    lib/Apache Build.pm
  Log:
  let's be consistent and use a nicely colored error message
  
  Revision  Changes    Path
  1.145     +2 -1      modperl-2.0/lib/Apache/Build.pm
  
  Index: Build.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
  retrieving revision 1.144
  retrieving revision 1.145
  diff -u -u -r1.144 -r1.145
  --- Build.pm  6 Sep 2003 01:04:36 -0000       1.144
  +++ Build.pm  6 Sep 2003 01:10:18 -0000       1.145
  @@ -186,7 +186,8 @@
           my $msg = 'Failed to obtain the MPM name.';
           $msg .= " Please specify MP_APXS=/full/path/to/apxs to solve " .
               "this problem." unless exists $self->{MP_APXS};
  -        die "$msg\n";
  +        error $msg;
  +        exit 1;
       }
   
       return $self->{mpm_name} = $mpm_name;
  
  
  

Reply via email to