From 7f1583e1daad5532c7c91efb43c817e135ab59ed Mon Sep 17 00:00:00 2001 From: lresende Date: Mon, 16 Nov 2009 19:48:03 +0000 Subject: Updating sync script to also sync Confluence 2.x Documentation wiki space to tuscany live website git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880930 13f79535-47bb-0310-9956-ffa450edef68 --- site/bin/sync | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'site') diff --git a/site/bin/sync b/site/bin/sync index dccc921acb..964c62fac6 100644 --- a/site/bin/sync +++ b/site/bin/sync @@ -1,6 +1,10 @@ PATH="$PATH:/usr/local/bin" export PATH +## +## Sync Tuscany web site +## + # Cleanup in case something went wrong from last time # This was happening frequently with all svn changes (cd "/www/tuscany.apache.org/"; svn cleanup) @@ -13,3 +17,14 @@ rsync -r "/www/confluence-exports/TUSCANY/" "/www/tuscany.apache.org/" # Make sure everything is group writable chmod -R g+w "/www/tuscany.apache.org/" > /dev/null + + +## +## Sync Tuscany 2.x documentation +## + +# Install the cwiki exported content +rsync -r "/www/confluence-exports/TUSCANYxDOCx2x/" "/www/tuscany.apache.org/documentation-2x" + +# Make sure everything is group writable +chmod -R g+w "/www/tuscany.apache.org/documentation-2x" > /dev/null -- cgit v1.2.3