aboutsummaryrefslogtreecommitdiff
path: root/bin/sbodb.pl
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-01-10 05:10:35 -0500
committerB. Watson <urchlay@slackware.uk>2026-01-10 05:10:35 -0500
commitc7daeada10962635b104f76576bafe674e5b54f5 (patch)
treefa64faf069041ac414b4e7ffbb4e72c5a33352d5 /bin/sbodb.pl
parentce17faeb7bfe0844a6d7ab8e4d046cc674cf6f95 (diff)
downloadlimnoria.slackfacts.plugins-c7daeada10962635b104f76576bafe674e5b54f5.tar.gz
Localize variable properly.
Diffstat (limited to 'bin/sbodb.pl')
-rwxr-xr-xbin/sbodb.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sbodb.pl b/bin/sbodb.pl
index fc2d3ec..3e4bc98 100755
--- a/bin/sbodb.pl
+++ b/bin/sbodb.pl
@@ -160,13 +160,13 @@ EOF
open $tagstxt, "<" . $sbopath . "/TAGS.txt" or die $!;
while(<$tagstxt>) {
- my %seen;
my ($build, $t, @tags);
chomp;
next if /: No tags found for/;
($build, $t) = /^([^:]*):\s+(.*)$/;
@tags = split /,/, $t;
for(@tags) {
+ my %seen;
next if /^\s*$/;
next if $seen{$_}++;
s/'/''/g;