You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-commits@incubator.apache.org by je...@apache.org on 2011/04/14 04:53:32 UTC

[zeta-commits] svn commit: r1092005 - /incubator/zetacomponents/website/Pakefile

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 ) )
         {