apache-tuscany/site/bin/sync

15 lines
492 B
Text

PATH="$PATH:/usr/local/bin"
export PATH
# Cleanup in case something went wrong from last time
# This was happening frequently with all svn changes
(cd "/www/tuscany.apache.org/"; svn cleanup --quiet)
# 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