fix problem with quoted strings in filter_conv.pl

This commit is contained in:
Paul Mangan 2002-12-03 14:06:00 +00:00
parent c0f6cb71d8
commit 6327de438c
3 changed files with 7 additions and 0 deletions

View file

@ -163,3 +163,4 @@ contributors (beside the above; based on Changelog)
Nicolas Kaiser
Ivan Francolin Martinez
Topia
Luke Plant

View file

@ -3,6 +3,10 @@
* po/POTFILES.in
update to reflect recent changes (thanks
to Ricardo Mones Lastra)
* tools/filter_conv.pl
fix problem with quoted strings. Patch submitted
by Luke Plant <lukeplant@softhome.net>
2002-12-03 [paul] 0.8.6claws52

View file

@ -57,6 +57,8 @@ open(FILTERRC, "<filterrc") or die("Can't find your old filter rules ('filterrc'
$mode_two,
$action) = split(/\t/);
$value_one =~ s/\"/\\\"/g ;
$value_two =~ s/\"/\\\"/g ;
$action = $action eq "m" ? "move" : "delete";
$destination = $destination =~ m!^\#mh/! ?
$destination :