[Bps-public-commit] r10441 - bpsbuilder/Shipwright/lib/Shipwright/Script

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jan 23 05:08:41 EST 2008


Author: sunnavy
Date: Wed Jan 23 05:08:35 2008
New Revision: 10441

Modified:
   bpsbuilder/Shipwright/lib/Shipwright/Script/Import.pm

Log:
not import dists twice

Modified: bpsbuilder/Shipwright/lib/Shipwright/Script/Import.pm
==============================================================================
--- bpsbuilder/Shipwright/lib/Shipwright/Script/Import.pm	(original)
+++ bpsbuilder/Shipwright/lib/Shipwright/Script/Import.pm	Wed Jan 23 05:08:35 2008
@@ -63,6 +63,9 @@
         $self->source(
             $shipwright->source->run( '__require.yml' => $self->require_yml ) );
 
+        my ($name) = $self->source =~ m{.*/(.*)$};
+        $imported{$name}++;
+
         $self->import_req( $self->source, $shipwright );
 
         my $script_dir = tempdir( CLEANUP => 1 );



More information about the Bps-public-commit mailing list