geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r515357 - in /geronimo/site/trunk/bin: ./ sync
Date Tue, 06 Mar 2007 23:29:08 GMT
Author: jdillon
Date: Tue Mar  6 15:29:07 2007
New Revision: 515357

URL: http://svn.apache.org/viewvc?view=rev&rev=515357
Log:
Hackup a little script to sync for now

Added:
    geronimo/site/trunk/bin/
    geronimo/site/trunk/bin/sync

Added: geronimo/site/trunk/bin/sync
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/bin/sync?view=auto&rev=515357
==============================================================================
--- geronimo/site/trunk/bin/sync (added)
+++ geronimo/site/trunk/bin/sync Tue Mar  6 15:29:07 2007
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+DIRNAME=`dirname $0`
+RSYNC="/usr/local/bin/rsync"
+
+BASEDIR=`cd "$DIRNAME/.."; pwd`
+TMPDIR="$BASEDIR/tmp"
+
+rsync() {
+    $RSYNC -tr $*
+}
+
+# Install the underlay/boilerplate
+rsync "$BASEDIR/docs/" "$TMPDIR/"
+
+# Install the cwiki exported content
+rsync "/home/jefft/public_html/confluence/GMOxSITE/" "$TMPDIR/"
+
+# Update the live site sync dir
+# rsync "$TMPDIR/" "/www/geronimo.apache.org/newsite/"



Mime
View raw message