]> git.donarmstrong.com Git - debbugs.git/blobdiff - scripts/process
Fix pluralising the Tag/Usertag headers
[debbugs.git] / scripts / process
index ecc007107204efa557930b1ee2c94805663b33f3..e80c738b994049b3972cf59cbd01988eea492f09 100755 (executable)
@@ -233,9 +233,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 {