[Treepkg-commits] r246 - trunk/bin

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Dec 21 14:21:42 CET 2009


Author: bernhard
Date: 2009-12-21 14:21:40 +0100 (Mon, 21 Dec 2009)
New Revision: 246

Modified:
   trunk/bin/publishpackages.py
Log:
Rsync call parameters: Using the long version with some parameters for clarity.
     Added --omit-dir-times - otherwise the dirs have to be owned.


Modified: trunk/bin/publishpackages.py
===================================================================
--- trunk/bin/publishpackages.py	2009-12-09 17:47:15 UTC (rev 245)
+++ trunk/bin/publishpackages.py	2009-12-21 13:21:40 UTC (rev 246)
@@ -143,7 +143,8 @@
         rsync_flags.append("--delete")
     if quiet:
         rsync_flags.append("--quiet")
-    call(cmdexpand("rsync @rsync_flags -rpt $cachedir/ $remote_destdir/",
+    call(cmdexpand("rsync @rsync_flags -r --perms --times --omit-dir-times"  
+                   " $cachedir/ $remote_destdir/",
                    rsync_flags=rsync_flags, remote_destdir=remote_destdir,
                    **variables))
 



More information about the Treepkg-commits mailing list