[PATCH] testbot/UpdateTaskLogs: Fix deletion of the new per-task reference reports.
Francois Gouget
fgouget at codeweavers.com
Thu Feb 6 08:13:18 CST 2020
$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 at codeweavers.com>
---
testbot/bin/UpdateTaskLogs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/UpdateTaskLogs b/testbot/bin/UpdateTaskLogs
index 4fe6ff3c42..d89ccfc4ad 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";
--
2.20.1
More information about the wine-devel
mailing list