apache-tuscany/site/trunk/bin/sync
lresende 86b28c1136 Moving to site trunk
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882839 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 07:40:09 +00:00

30 lines
800 B
Text

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