Use --delete-after instead of --delete.
authorWayne Davison <wayned@samba.org>
Sat, 8 Apr 2006 16:36:57 +0000 (16:36 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 8 Apr 2006 16:36:57 +0000 (16:36 +0000)
packaging/nightly-rsync

index 7ec0029..e54424e 100755 (executable)
@@ -98,7 +98,7 @@ system 'ls -ltr';
 
 if ($upload) {
     $ENV{RSYNC_PARTIAL_DIR} = ''; # The rsync on samba.org is OLD.
-    system "rsync -aviHP --delete . samba.org:/home/ftp/pub/rsync/nightly";
+    system "rsync -aviHP --delete-after . samba.org:/home/ftp/pub/rsync/nightly";
 }
 
 exit;