X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fprocess;h=1f40901573da4f35d1e4e2ebf532d2c563f00c3e;hb=9d1f857815b356736ae85ed610f509a0859f65d3;hp=3da8f983c4a13ea773fe808a6f8136018b918a9d;hpb=6c674e3570221c96734f94967ad55f50560bee54;p=debbugs.git diff --git a/scripts/process b/scripts/process index 3da8f98..1f40901 100755 --- a/scripts/process +++ b/scripts/process @@ -234,14 +234,14 @@ 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 { # Don't lc owner or forwarded - $fv = lc $fv unless $fn =~ /^(?:owner|forwarded|usertags|version|source-version)$/; + $fv = lc $fv unless $fn =~ /^(?:owner|forwarded|usertags|version|source-version|done)$/; $pheader{$fn} = $fv; } print {$debugfh} ">$fn~$fv<\n"; @@ -390,7 +390,7 @@ if ($codeletter eq 'D' || $codeletter eq 'F') } $receivedat= "done\@$gEmailDomain"; $markaswhat= 'done'; - $set_done= $header{'from'}; + $set_done= $pheader{'done'} // $header{'from'}; if ( length( $gListDomain ) > 0 && length( $gDoneList ) > 0 ) { $generalcc= "$gDoneList\@$gListDomain"; push @generalcc, "$gDoneList\@$gListDomain";