[Bps-public-commit] r13197 - in Shipwright/trunk: share/bin

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jun 12 05:10:54 EDT 2008


Author: sunnavy
Date: Thu Jun 12 05:10:50 2008
New Revision: 13197

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/share/bin/shipwright-builder

Log:
 r13290 at sunnavys-mb:  sunnavy | 2008-06-12 16:39:34 +0800
 should remove tmp_dists in clean step


Modified: Shipwright/trunk/share/bin/shipwright-builder
==============================================================================
--- Shipwright/trunk/share/bin/shipwright-builder	(original)
+++ Shipwright/trunk/share/bin/shipwright-builder	Thu Jun 12 05:10:50 2008
@@ -134,6 +134,10 @@
 elsif ( $args{'clean'} ) {
     open $log, '>', 'clean.log' or die $!;
 
+    system( 'rm -rf tmp_dists' ) && die "rm tmp_dists failed\n";
+
+    print $log "removed tmp_dists";
+
     $args{'install-base'} = get_install_base() unless $args{'install-base'};
 
     for my $dist (@$order) {
@@ -531,7 +535,6 @@
 }
 
 sub process_tmp_dists {
-    system( 'rm -f tmp_dists' );
     mkdir 'tmp_dists';
 
     for my $name ( keys %{$args{with}} ) {



More information about the Bps-public-commit mailing list