diff options
Diffstat (limited to 'site/bin')
-rw-r--r-- | site/bin/sync | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/site/bin/sync b/site/bin/sync new file mode 100644 index 0000000000..cd63059c50 --- /dev/null +++ b/site/bin/sync @@ -0,0 +1,11 @@ +PATH="$PATH:/usr/local/bin" +export PATH + +# Make sure we have the latest content +(cd "/www/incubator.apache.org/tuscany/"; svn up --quiet) + +# Install the cwiki exported content +rsync -r "/www/confluence-exports/TUSCANY/" "/www/incubator.apache.org/tuscany/" + +# Make sure everything is group writable +chmod -R g+w "/www/incubator.apache.org/tuscany/" > /dev/null |