cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r569322 - /cayenne/site/trunk/tlp-site/bin/site-sync
Date Fri, 24 Aug 2007 09:56:13 GMT
Author: aadamchik
Date: Fri Aug 24 02:56:12 2007
New Revision: 569322

URL: http://svn.apache.org/viewvc?rev=569322&view=rev
Log:
fixing news URL rewriting

Modified:
    cayenne/site/trunk/tlp-site/bin/site-sync

Modified: cayenne/site/trunk/tlp-site/bin/site-sync
URL: http://svn.apache.org/viewvc/cayenne/site/trunk/tlp-site/bin/site-sync?rev=569322&r1=569321&r2=569322&view=diff
==============================================================================
--- cayenne/site/trunk/tlp-site/bin/site-sync (original)
+++ cayenne/site/trunk/tlp-site/bin/site-sync Fri Aug 24 02:56:12 2007
@@ -23,6 +23,8 @@
 #  * Rename CAYDOC -> doc
 find /www/cayenne.apache.org/ -depth 1 -name "*.html" |xargs perl -n -i -e 's/\.\.\/CAYDOC/doc/g;
print;'
 find /www/cayenne.apache.org/ -depth 2 -name "*.html" |xargs perl -n -i -e 's/\/CAYDOC/\/doc/g;
print;'
+# News are at level 4, so there should be no conflict with the rules above
+find /www/cayenne.apache.org/ -depth 1 -type d |grep "20[0-9][0-9]$" |xargs find |grep "\.html$"
|xargs perl -n -i -e 's/\/CAYDOC/\/doc/g; print;'
 
 # References to CAYSITE from CAYDOC*
 find /www/cayenne.apache.org/ -depth 2 -name "*.html" |xargs perl -n -i -e 's/\.\.\/CAYSITE/../g;
print;'



Mime
View raw message