From 80aff93b3227cdf29135ed21d3f114a396a8d0a3 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 10 May 2006 16:37:07 +0000 Subject: [PATCH] Added the updating of a symlink to the very latest nightly tar file. --- packaging/nightly-rsync | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/nightly-rsync b/packaging/nightly-rsync index e54424ec..b18976df 100755 --- a/packaging/nightly-rsync +++ b/packaging/nightly-rsync @@ -18,6 +18,7 @@ use Date::Format; our $unpacked = $ENV{HOME} . '/release/nightly'; # Where the local copy of /home/ftp/pub/rsync/nightly should be updated. our $nightly = $ENV{HOME} . '/samba-rsync-ftp/nightly'; +our $nightly_symlink = "$nightly/rsync-nightly.tar.gz"; our($cvs_update, $make_tar, $upload, $help_opt); &Getopt::Long::Configure('bundling'); @@ -69,6 +70,8 @@ if ($make_tar) { } close TAR; rename($name, $unpacked) or die $!; + unlink($nightly_symlink); + symlink("$name.tar.gz", $nightly_symlink); } chdir($nightly) or die $!; -- 2.34.1