summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-02-05 15:22:33 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-02-05 17:12:12 +0200
commit32c09a1952a15df9bf7b6b93698fb882c05b1438 (patch)
tree26eb296edbac6f54fd57910ad8b6b2d537997ed4
parent092f2ca2462869f22927d9f6f366e75b8df1595c (diff)
downloadaiaiai-32c09a1952a15df9bf7b6b93698fb882c05b1438.tar.gz
email-test-patchset: alwasy include the "always_cc" list
I do not know when we broke this, but some day that worked, and the "always_cc" list from the configuration file was always Cced to all replies. But now it is ignored, which is exactly what this patch fixes. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rwxr-xr-xemail/aiaiai-email-test-patchset3
1 files changed, 2 insertions, 1 deletions
diff --git a/email/aiaiai-email-test-patchset b/email/aiaiai-email-test-patchset
index 694f28b..dfff8e5 100755
--- a/email/aiaiai-email-test-patchset
+++ b/email/aiaiai-email-test-patchset
@@ -312,9 +312,10 @@ fi
if [ "$pcfg_reply_to_all" != "1" ]; then
# Replies all the patch recepients will be CCed
reply_cc="$(merge_addresses "$to" "$cc")"
+ reply_cc="$(merge_addresses "$reply_cc" "$pcfg_always_cc")"
reply_cc=$(strip_address "$reply_cc" "$cfg_ownmail")
else
- reply_cc=
+ reply_cc="$pcfg_always_cc"
fi
# Notify the sender that the patches have been accepted