Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed some instances of \" in checkit calls to '.
[rsync/rsync.git]
/
packaging
/
nightly-rsync
diff --git
a/packaging/nightly-rsync
b/packaging/nightly-rsync
index
b526f5d
..
7b21f3d
100755
(executable)
--- a/
packaging/nightly-rsync
+++ b/
packaging/nightly-rsync
@@
-96,7
+96,15
@@
foreach my $fn (qw( rsync.yo rsyncd.conf.yo )) {
unlink($fn);
}
unlink($fn);
}
-system "find . -name 'rsync-HEAD-*' -daystart -mtime +14 | xargs rm -f";
+my $cnt = 0;
+open(PIPE, '-|', 'ls -1t rsync-HEAD-*') or die $!;
+while (<PIPE>) {
+ chomp;
+ next if $cnt++ < 10;
+ unlink($_);
+}
+close PIPE;
+
system 'ls -ltr';
if ($upload) {
system 'ls -ltr';
if ($upload) {