From 08dc40a362f4a279a036357d1ad4cd12469d3148 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Fri, 16 May 2014 09:41:01 +1000 Subject: [PATCH] refactor mail composing split out the actual mail sending command --- build_msg | 7 ++++--- build_warn | 7 ++++--- merge_msg | 11 ++++++----- message_helper | 9 +++++---- send_email | 15 +++++++++++++++ 5 files changed, 34 insertions(+), 15 deletions(-) create mode 100755 send_email diff --git a/build_msg b/build_msg index f684d15..00268c1 100755 --- a/build_msg +++ b/build_msg @@ -1,9 +1,10 @@ #!/bin/bash subject="build failure after merge of the BRANCH tree" -body="After merging the BRANCH tree, today's linux-next build ()%0A\ -failed like this:" -$(dirname $0)/message_helper "$@" "$subject" "$body" +$(dirname $0)/message_helper "$@" "$subject" <