Module: tools Branch: master Commit: 8ce2a0aca63da9f2c36b33f2c03405332908a2c2 URL: https://source.winehq.org/git/tools.git/?a=commit;h=8ce2a0aca63da9f2c36b33f2...
Author: Francois Gouget fgouget@codeweavers.com Date: Thu Feb 6 15:13:18 2020 +0100
testbot/UpdateTaskLogs: Fix deletion of the new per-task reference reports.
$ReportNames had the wrong scope, causing it to be undefined when the time came to delete the per-task reference reports.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/bin/UpdateTaskLogs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/UpdateTaskLogs b/testbot/bin/UpdateTaskLogs index 051dbe5..e1da826 100755 --- a/testbot/bin/UpdateTaskLogs +++ b/testbot/bin/UpdateTaskLogs @@ -321,7 +321,7 @@ sub ProcessTaskLogs($$$) { # Upgrade the naming scheme of the task's old reference reports, # delete those that are not meant to exist. - my ($ErrMessage, $ReportNames, $_TaskMissions) = $Task->GetReportNames(); + (my $ErrMessage, $ReportNames, my $_TaskMissions) = $Task->GetReportNames(); if ($ErrMessage) { Error "$ErrMessage\n";