geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r919951 - /geronimo/site/trunk/bin/sync
Date Sun, 07 Mar 2010 09:20:08 GMT
Author: jdillon
Date: Sun Mar  7 09:19:59 2010
New Revision: 919951

URL: http://svn.apache.org/viewvc?rev=919951&view=rev
Log:
Try to make rsync shut the *uck up

Modified:
    geronimo/site/trunk/bin/sync

Modified: geronimo/site/trunk/bin/sync
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/bin/sync?rev=919951&r1=919950&r2=919951&view=diff
==============================================================================
--- geronimo/site/trunk/bin/sync (original)
+++ geronimo/site/trunk/bin/sync Sun Mar  7 09:19:59 2010
@@ -14,6 +14,10 @@
 rm -rf "$TMPDIR"
 mkdir "$TMPDIR"
 
+dosync() {
+    rsync -q -p -r $* > /dev/null 2>&1
+}
+
 # Make sure we have no evil locks
 (cd $BASEDIR; svn cleanup)
 
@@ -21,10 +25,10 @@
 (cd $BASEDIR; svn up --quiet)
 
 # Install the underlay/boilerplate
-rsync -q -p -r --exclude '.svn' "$BASEDIR/docs/" "$TMPDIR/"
+dosync --exclude '.svn' "$BASEDIR/docs/" "$TMPDIR/"
 
 # Install the cwiki exported content
-rsync -q -p -r "/www/confluence-exports/GMOxSITE/" "$TMPDIR/"
+dosync "/www/confluence-exports/GMOxSITE/" "$TMPDIR/"
 
 # Update the live site sync dir
-rsync -q -p -r "$TMPDIR/" "/www/geronimo.apache.org/"
+dosync "$TMPDIR/" "/www/geronimo.apache.org/"



Mime
View raw message