[Bps-public-commit] Shipwright branch, master, updated. 2002161281d0137b509ee1c6917c7d6395aadd1f

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Aug 27 19:39:36 EDT 2009


The branch, master has been updated
       via  2002161281d0137b509ee1c6917c7d6395aadd1f (commit)
      from  694df4252e256e45cdd339e5f26fe09d909f65f5 (commit)

Summary of changes:
 share/bin/shipwright-builder |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 2002161281d0137b509ee1c6917c7d6395aadd1f
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Aug 28 07:39:14 2009 +0800

    use legacy api of File::Path in shipwright-builder

diff --git a/share/bin/shipwright-builder b/share/bin/shipwright-builder
index 68e3884..3ed7e67 100755
--- a/share/bin/shipwright-builder
+++ b/share/bin/shipwright-builder
@@ -395,7 +395,7 @@ sub install {
         {
             my $dir = catdir( $args{'install-base'}, $r );
             next unless -e $dir;
-            remove_tree( $dir );
+            rmtree( $dir );
         }
     }
 
@@ -736,11 +736,11 @@ sub cmds {
 sub clean {
     open my $log, '>', 'clean.log' or confess $!;
 
-    remove_tree( 'tmp_dists');
+    rmtree( 'tmp_dists');
     print $log "removed tmp_dists\n";
 
     if ($branches) {
-        remove_tree('dists');
+        rmtree('dists');
         print $log "removed dists\n";
     }
     else {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list