diff --git a/sympa/recipe/sympa_fix_personalization.recipe b/sympa/recipe/sympa_fix_personalization.recipe index edb734d..718fa4b 100644 --- a/sympa/recipe/sympa_fix_personalization.recipe +++ b/sympa/recipe/sympa_fix_personalization.recipe @@ -30,7 +30,8 @@ function patch_message_pm { echo 'already patched!' fi message=$(prepend_2lines_of_text_before_existing_line "$MESSAGE_PM" '$data->{sender} = $self->{sender};' '$data->{gecos} = $self->{gecos};' '$data->{subject} = $self->{decoded_subject};') - if [[ $message =~ 'do prepend' ]]; then + echo $message + if [[ $message == 'do prepend' ]]; then echo 'prepending sender and gecos in message pm' FOUND=true else