From b1e0f7c33b868dabea01ed82b8089bd5557ed6dd Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Sun, 10 Jan 2010 05:56:54 +0000 Subject: [PATCH] Make the latest build-status file accessible in log/latest to make --resume work correctly. BUG:219386 svn path=/trunk/KDE/kdesdk/scripts/kdesvn-build; revision=1072401 --- kdesvn-build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kdesvn-build b/kdesvn-build index 6d54062..6b636d8 100755 --- a/kdesvn-build +++ b/kdesvn-build @@ -5720,6 +5720,13 @@ EOF } close STATUS_FILE; + + # Update the symlink in latest to point to this file. + my $logdir = get_subdir_path('global', 'log-dir'); + if (-l "$logdir/latest/build-status") { + safe_unlink("$logdir/latest/build-status"); + } + symlink($outfile, "$logdir/latest/build-status"); } info "<<< Build Done >>>";