[mirrorbrain-commits] r7874 - /trunk/tools/null-rsync

From: <poeml_at_mirrorbrain.org>
Date: Sat, 28 Nov 2009 14:46:43 -0000
Author: poeml
Date: Sat Nov 28 15:46:42 2009
New Revision: 7874

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7874&view=rev
Log:
null-rsync:
- strip a trailing slash, because it is redundant and might confuse us later.

Modified:
    trunk/tools/null-rsync

Modified: trunk/tools/null-rsync
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/tools/null-rsync?rev=7874&r1=7873&r2=7874&view=diff
==============================================================================
--- trunk/tools/null-rsync (original)
+++ trunk/tools/null-rsync Sat Nov 28 15:46:42 2009
_at_@ -84,6 +84,7 @@
 
 rsync_src = sys.argv[1]
 rsync_dst = sys.argv[2]
+rsync_dst = rsync_dst.rstrip('/')
 verbose = True
 
 cmd = [ 'rsync',




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Sat Nov 28 2009 - 14:46:44 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT