geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r515385 - /geronimo/site/trunk/bin/sync
Date Wed, 07 Mar 2007 00:08:51 GMT
Author: jdillon
Date: Tue Mar  6 16:08:51 2007
New Revision: 515385

URL: http://svn.apache.org/viewvc?view=rev&rev=515385
Log:
Set the path

Modified:
    geronimo/site/trunk/bin/sync

Modified: geronimo/site/trunk/bin/sync
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/bin/sync?view=diff&rev=515385&r1=515384&r2=515385
==============================================================================
--- geronimo/site/trunk/bin/sync (original)
+++ geronimo/site/trunk/bin/sync Tue Mar  6 16:08:51 2007
@@ -4,15 +4,13 @@
 ##
 
 DIRNAME=`dirname $0`
-RSYNC="/usr/local/bin/rsync"
+
+PATH="$PATH:/usr/local/bin"
+export PATH
 
 BASEDIR=`cd "$DIRNAME/.."; pwd`
 TMPDIR="$BASEDIR/tmp"
 
-rsync() {
-    $RSYNC -r $*
-}
-
 rm -rf "$TMPDIR"
 mkdir "$TMPDIR"
 
@@ -20,10 +18,10 @@
 (cd $BASEDIR; svn up --quiet)
 
 # Install the underlay/boilerplate
-rsync --exclude '.svn' "$BASEDIR/docs/" "$TMPDIR/"
+rsync -r --exclude '.svn' "$BASEDIR/docs/" "$TMPDIR/"
 
 # Install the cwiki exported content
-rsync "/home/jefft/public_html/confluence/GMOxSITE/" "$TMPDIR/"
+rsync -r "/home/jefft/public_html/confluence/GMOxSITE/" "$TMPDIR/"
 
 # Clean up some deleted content... stupid AE plugin
 rm "$TMPDIR/foo-bar.html"
@@ -31,7 +29,7 @@
 rm "$TMPDIR/svn.html"
 
 # Update the live site sync dir
-rsync "$TMPDIR/" "/www/geronimo.apache.org/"
+rsync -r "$TMPDIR/" "/www/geronimo.apache.org/"
 
 # Make sure everything is group writable
 chmod -R g+w "/www/geronimo.apache.org/"



Mime
View raw message