[Bps-public-commit] r18551 - Shipwright/trunk/lib/Shipwright/Source

jesse at bestpractical.com jesse at bestpractical.com
Mon Feb 23 21:08:16 EST 2009


Author: jesse
Date: Mon Feb 23 21:08:16 2009
New Revision: 18551

Modified:
   Shipwright/trunk/lib/Shipwright/Source/CPAN.pm

Log:
* Skip "dists" like Config that are in the perl core.

Modified: Shipwright/trunk/lib/Shipwright/Source/CPAN.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Source/CPAN.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Source/CPAN.pm	Mon Feb 23 21:08:16 2009
@@ -161,6 +161,10 @@
     if ( $name eq 'perl' ) {
         $self->log->warn( 'perl itself contains ' . $self->source . ', will not process');
         return -1;
+    } 
+    if (!$name ) {
+        $self->log->warn("You asked to install ".$self->source. " but it isn't on the CPAN. Skipping");
+        return -1;
     }
 
     Shipwright::Util->select('stdout');



More information about the Bps-public-commit mailing list