httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1228391 - /httpd/mod_mbox/trunk/scripts/update-index
Date Fri, 06 Jan 2012 20:45:39 GMT
Author: danielsh
Date: Fri Jan  6 20:45:39 2012
New Revision: 1228391

URL: http://svn.apache.org/viewvc?rev=1228391&view=rev
Log:
* update-index: Allow specifying $RSYNC in the environment

(as a means to bypass the rsync)

Modified:
    httpd/mod_mbox/trunk/scripts/update-index

Modified: httpd/mod_mbox/trunk/scripts/update-index
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/scripts/update-index?rev=1228391&r1=1228390&r2=1228391&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/scripts/update-index (original)
+++ httpd/mod_mbox/trunk/scripts/update-index Fri Jan  6 20:45:39 2012
@@ -2,7 +2,7 @@
 # ZSH 4+ script to retrieve archives in a variety of mechanisms
 DATE=`TZ=PST8PDT date -u "+%Y%m"`
 ARCHIVES_PATH=$HOME/archives/mbox-archives.conf
-RSYNC=/usr/local/bin/rsync
+RSYNC=${RSYNC:-/usr/local/bin/rsync}
 
 if [ $# -ge 1 ]; then
   ARCHIVES_PATH="$1"



Mime
View raw message