diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-16 19:48:03 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-16 19:48:03 +0000 |
commit | 7f1583e1daad5532c7c91efb43c817e135ab59ed (patch) | |
tree | a14edb4cd0101869e84196a3bcc597c8ac50c188 /site | |
parent | 3f1f6cdd465b4a07a40238433001483e7be3a149 (diff) |
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
Diffstat (limited to 'site')
-rw-r--r-- | site/bin/sync | 15 |
1 files changed, 15 insertions, 0 deletions
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 |