[Bps-public-commit] r16817 - in Shipwright/trunk: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Nov 12 11:38:19 EST 2008


Author: sunnavy
Date: Wed Nov 12 11:38:16 2008
New Revision: 16817

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Build.pm

Log:
 r17708 at sunnavys-mb:  sunnavy | 2008-11-12 22:33:09 +0800
 don't keep the null install_base in the initialization of Build object


Modified: Shipwright/trunk/lib/Shipwright/Build.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Build.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Build.pm	Wed Nov 12 11:38:16 2008
@@ -43,8 +43,8 @@
     $self->make('make') unless $self->make;
 
     unless ( $self->install_base ) {
-
         my $dir = tempdir( 'vessel_' . $self->name . '-XXXXXX', TMPDIR => 1 );
+        rmdir $dir;
         $self->install_base( catfile( $dir, $self->name ) );
     }
 
@@ -427,6 +427,7 @@
     Shipwright::Util::DumpFile( $installed_file, $installed );
 }
 
+
 1;
 
 __END__



More information about the Bps-public-commit mailing list