From 30d36da057e7345f6278a34b5a3c1799f3aa9dc2 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 19 Oct 2021 22:04:57 -0400 Subject: [PATCH] CoverityScan: fixup tarballshandle introduced in 21e1ff0da1b7abe96bf83e7d7444b476f51088fe --- src/lib/Hydra/Plugin/CoverityScan.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Plugin/CoverityScan.pm b/src/lib/Hydra/Plugin/CoverityScan.pm index c7b39d02..0a7fae0c 100644 --- a/src/lib/Hydra/Plugin/CoverityScan.pm +++ b/src/lib/Hydra/Plugin/CoverityScan.pm @@ -53,7 +53,7 @@ sub buildFinished { my $covTarball; opendir my $tarballs_handle, $tarballs or die; - while (my $file = readdir $tarballshandle) { + while (my $file = readdir $tarballs_handle) { next unless $file =~ /.*-coverity-int\.(tgz|lzma|xz|bz2|zip)$/; $covTarball = "$tarballs/$file"; last; }