You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by am...@apache.org on 2010/03/28 13:56:10 UTC
svn commit: r928379 - /cayenne/site/trunk/tlp-site/bin/site-sync
Author: amaniatis
Date: Sun Mar 28 11:56:09 2010
New Revision: 928379
URL: http://svn.apache.org/viewvc?rev=928379&view=rev
Log:
Quiet some warnings that were being emitted from the script now that p.a.o is upgraded to FreeBSD 8 and the zpool has
not been upgraded to version 13.
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=928379&r1=928378&r2=928379&view=diff
==============================================================================
--- cayenne/site/trunk/tlp-site/bin/site-sync (original)
+++ cayenne/site/trunk/tlp-site/bin/site-sync Sun Mar 28 11:56:09 2010
@@ -1,18 +1,17 @@
#!/usr/local/bin/bash
-RSYNC="/usr/local/bin/rsync -r"
+RSYNC="/usr/local/bin/rsync -rp"
CONF_SRC="/www/confluence-exports"
WWW_DEST="/www/cayenne.apache.org"
# CAYSITE goes to root
-$RSYNC $CONF_SRC/CAYSITE/ $WWW_DEST
+$RSYNC $CONF_SRC/CAYSITE/* $WWW_DEST/
# Doc spaces go in separate directories
$RSYNC $CONF_SRC/CAYDOC/ $WWW_DEST/doc
$RSYNC $CONF_SRC/CAYDOC12/ $WWW_DEST/doc12
$RSYNC $CONF_SRC/CAYDOC20/ $WWW_DEST/doc20
$RSYNC $CONF_SRC/CAYDOC30/ $WWW_DEST/doc30
-/usr/local/bin/rsync -r /www/confluence-exports/CAYDOC30/ /www/cayenne.apache.org/doc30
# Manually remove pages deleted from Confluence as they still reside on the Confluence autoexport server
rm $WWW_DEST/persistence-caching-and-mapping-for-java.html