]> git.donarmstrong.com Git - debbugs.git/blobdiff - scripts/process
Fix pluralising the Tag/Usertag headers
[debbugs.git] / scripts / process
index 265bd5835b6fb2f96e671fef5895cd409b7401c4..1f40901573da4f35d1e4e2ebf532d2c563f00c3e 100755 (executable)
@@ -234,9 +234,9 @@ for my $phline (@bodylines)
     my ($fn, $fv) = ($1, $2);
     $fv =~ s/\s*$//;
     # pluralize tag/usertag
+    $fn = lc $fn;
     $fn = $fn.'s' if $fn =~ /^(?:tag|usertag)$/;
     print {$debugfh} ">$fn|$fv|\n";
-    $fn = lc $fn;
     if ($fn =~ /^control$/) {
        push @control_bits,$fv;
     } else {