From 4f6b512d0f07dec9b31dd49ac43e06e3e2181abc Mon Sep 17 00:00:00 2001 From: Jacob Keller Date: Thu, 6 Mar 2014 17:11:49 -0800 Subject: [PATCH V2 2/8] aiaiai-test-patchset: use merge_addresses only once Since merge addresses can now handle arbitrary lists of parameters, we should just use a single call instead of multiple calls in a row. Signed-off-by: Jacob Keller --- email/aiaiai-email-test-patchset | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/email/aiaiai-email-test-patchset b/email/aiaiai-email-test-patchset index 03d747a846c3..cb177dbcbda8 100755 --- a/email/aiaiai-email-test-patchset +++ b/email/aiaiai-email-test-patchset @@ -328,8 +328,7 @@ fi # Create the Cc list for replies that we'll be sending if [ "$pcfg_reply_to_all" = "1" ]; then # All the patch recipients will be CCed - reply_cc="$(merge_addresses "$to" "$cc")" - reply_cc="$(merge_addresses "$reply_cc" "$pcfg_always_cc")" + reply_cc="$(merge_addresses "$to" "$cc" "$pcfg_always_cc")" reply_cc=$(strip_address "$reply_cc" "$cfg_ownmail") else reply_cc="$pcfg_always_cc" -- 1.8.3.1