]> www.infradead.org Git - users/dedekind/aiaiai.git/commitdiff
aiaiai-test-patchset: use merge_addresses only once
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 7 Mar 2014 01:11:49 +0000 (17:11 -0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 10 Mar 2014 15:03:35 +0000 (17:03 +0200)
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 <jacob.e.keller@intel.com>
email/aiaiai-email-test-patchset

index 03d747a846c38d604968d208a380741bba5a77e1..cb177dbcbda856d5ca73fe81ffd9494a5f0c8732 100755 (executable)
@@ -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"