diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-21 07:40:09 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-21 07:40:09 +0000 |
commit | 86b28c1136006478e6f54607ffd409c9cb0c04cc (patch) | |
tree | 6bf62ac972094eeb6fbed89e797bd13157200c16 /site/trunk | |
parent | cf688692e0c95c4d3decc632da29a6e01aa74690 (diff) |
Moving to site trunk
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882839 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'site/trunk')
-rw-r--r-- | site/trunk/bin/sync | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/site/trunk/bin/sync b/site/trunk/bin/sync new file mode 100644 index 0000000000..964c62fac6 --- /dev/null +++ b/site/trunk/bin/sync @@ -0,0 +1,30 @@ +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) + +# Make sure we have the latest content +(cd "/www/tuscany.apache.org/"; svn up --quiet) + +# Install the cwiki exported content +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 |