Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5819d6b
)
Added a risk filter for the partial-dir since we use --delete-after.
author
Wayne Davison
<wayned@samba.org>
Wed, 18 Oct 2006 05:14:10 +0000
(
05:14
+0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 18 Oct 2006 05:14:10 +0000
(
05:14
+0000)
packaging/nightly-rsync
patch
|
blob
|
blame
|
history
diff --git
a/packaging/nightly-rsync
b/packaging/nightly-rsync
index
c88fd69
..
b526f5d
100755
(executable)
--- a/
packaging/nightly-rsync
+++ b/
packaging/nightly-rsync
@@
-100,7
+100,11
@@
system "find . -name 'rsync-HEAD-*' -daystart -mtime +14 | xargs rm -f";
system 'ls -ltr';
if ($upload) {
- system "rsync -aviHP --delete-after . samba.org:/home/ftp/pub/rsync/nightly";
+ my $opt = '';
+ if (defined $ENV{RSYNC_PARTIAL_DIR}) {
+ $opt = " -f 'R $ENV{RSYNC_PARTIAL_DIR}'";
+ }
+ system "rsync$opt -aviHP --delete-after . samba.org:/home/ftp/pub/rsync/nightly";
}
exit;