[Bps-public-commit] r15210 - in Shipwright/trunk: lib/Shipwright/Backend

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Aug 18 04:37:24 EDT 2008


Author: sunnavy
Date: Mon Aug 18 04:37:24 2008
New Revision: 15210

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

Log:
 r15786 at sunnavys-mb:  sunnavy | 2008-08-18 16:37:02 +0800
 mkpath has its own error handling


Modified: Shipwright/trunk/lib/Shipwright/Backend/Base.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Backend/Base.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Backend/Base.pm	Mon Aug 18 04:37:24 2008
@@ -63,7 +63,7 @@
 
     # copy YAML/Tiny.pm to inc/
     my $yaml_tiny_path = catfile( $dir, 'inc', 'YAML' );
-    mkpath $yaml_tiny_path or die "mkpath $yaml_tiny_path failed: $!";
+    mkpath $yaml_tiny_path;
     require Module::Info;
     copy( Module::Info->new_from_module('YAML::Tiny')->file, $yaml_tiny_path )
       or die "copy YAML/Tiny.pm failed: $!";



More information about the Bps-public-commit mailing list