Commit 7c21776e authored by Wayne Davison's avatar Wayne Davison

Handle the very latest spot for the nightly dir.

parent d724dd18
......@@ -14,8 +14,8 @@ use strict;
use Getopt::Long;
use Date::Format;
# Where the local copy of /home/ftp/pub/rsync/src-nightly should be updated.
our $dest = $ENV{HOME} . '/samba-rsync-ftp/src-nightly';
# Where the local copy of /home/ftp/pub/rsync/dev/nightly should be updated.
our $dest = $ENV{HOME} . '/samba-rsync-ftp/dev/nightly';
our $nightly_symlink = "$dest/rsync-HEAD.tar.gz";
our($make_tar, $upload, $help_opt);
......@@ -104,7 +104,7 @@ if ($upload) {
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/src-nightly";
system "rsync$opt -aviHP --delete-after . samba.org:/home/ftp/pub/rsync/dev/nightly";
}
exit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment