Do not say "no log file" when a module fails to asynchronously update in kdesvn-build. There's one log file

which should be guaranteed to exist, if it does simply point to that.

svn path=/trunk/KDE/kdesdk/scripts/kdesvn-build; revision=820548
wilder
Michael Pyne 18 years ago
parent 6192295e1a
commit 8a64bf098b
  1. 9
      kdesvn-build

@ -3045,6 +3045,15 @@ sub output_failed_module_list($@)
for (@fail_list)
{
$logfile = get_option($_, '#error-log-file');
# async updates may cause us not to have a error log file stored. There's only
# one place it should be though, take advantage of side-effect of log_command()
# to find it.
if (not $logfile) {
my $logdir = get_log_dir($_) . "/error.log";
$logfile = $logdir if -e $logdir;
}
$logfile = "No log file" unless $logfile;
$logfile =~ s|$homedir|~|;

Loading…
Cancel
Save