incubator-zeta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jero...@apache.org
Subject [zeta-commits] svn commit: r1092002 - /incubator/zetacomponents/website/Pakefile
Date Thu, 14 Apr 2011 04:39:49 GMT
Author: jeromer
Date: Thu Apr 14 04:39:49 2011
New Revision: 1092002

URL: http://svn.apache.org/viewvc?rev=1092002&view=rev
Log:
- Replace mkdir by pake_mkdirs
# Thanks Alexey Zakhlestin

Modified:
    incubator/zetacomponents/website/Pakefile

Modified: incubator/zetacomponents/website/Pakefile
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/website/Pakefile?rev=1092002&r1=1092001&r2=1092002&view=diff
==============================================================================
--- incubator/zetacomponents/website/Pakefile (original)
+++ incubator/zetacomponents/website/Pakefile Thu Apr 14 04:39:49 2011
@@ -131,10 +131,7 @@ function run_phpdoc( $task, $args )
 
     $targetDir = 'content/documentation/' . $options['build.name'];
 
-    if( !is_dir( $targetDir ) )
-    {
-        mkdir( $targetDir, 0755 );
-    }
+    pake_mkdirs( $targetDir, 0755 );
 
     pake_echo_comment( 'Copying tarball' );
     copy( $tarball, $targetDir . '/' . $options['build.name'] . '.tar.bz2' );



Mime
View raw message