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: r1092005 - /incubator/zetacomponents/website/Pakefile
Date Thu, 14 Apr 2011 04:53:32 GMT
Author: jeromer
Date: Thu Apr 14 04:53:32 2011
New Revision: 1092005

URL: http://svn.apache.org/viewvc?rev=1092005&view=rev
Log:
- Replaced rename by pake_rename
# Thanks Alexey Zakhlestin

Modified:
    incubator/zetacomponents/website/Pakefile

Modified: incubator/zetacomponents/website/Pakefile
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/website/Pakefile?rev=1092005&r1=1092004&r2=1092005&view=diff
==============================================================================
--- incubator/zetacomponents/website/Pakefile (original)
+++ incubator/zetacomponents/website/Pakefile Thu Apr 14 04:53:32 2011
@@ -237,9 +237,7 @@ function shorten_long_filenames( $baseDi
         // a "meaningful" URL for SEO.
         $newHTMLFile = str_replace( $token, '', $baseName );
 
-        pake_echo_comment( "Renaming ${baseName} to\n         ${newHTMLFile}" );
-
-        rename( $HTMLFile,  dirname( $HTMLFile ) . '/' . $newHTMLFile );
+        pake_rename( $HTMLFile,  dirname( $HTMLFile ) . '/' . $newHTMLFile );
 
         if( preg_match( "#^([a-zA-Z]+)_#", $newHTMLFile, $matches ) )
         {



Mime
View raw message