You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2007/06/02 00:43:01 UTC

svn commit: r543650 - in /incubator/tuscany/site/bin: ./ sync

Author: lresende
Date: Fri Jun  1 15:42:58 2007
New Revision: 543650

URL: http://svn.apache.org/viewvc?view=rev&rev=543650
Log:
Adding sync script to sync between confluence exported site and tuscany home site

Added:
    incubator/tuscany/site/bin/
    incubator/tuscany/site/bin/sync

Added: incubator/tuscany/site/bin/sync
URL: http://svn.apache.org/viewvc/incubator/tuscany/site/bin/sync?view=auto&rev=543650
==============================================================================
--- incubator/tuscany/site/bin/sync (added)
+++ incubator/tuscany/site/bin/sync Fri Jun  1 15:42:58 2007
@@ -0,0 +1,16 @@
+#!/bin/sh
+##
+## $Id$
+##
+
+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/"
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org