#!/bin/bash
-log=../merge.log
-[ -f merge.log ] && log=merge.log
-control=../real_control
-[ -f real_control ] && control=real_control
+subject="build failure after merge of the BRANCH tree"
-branch=$(grep '^Merging ' $log | tail -1 | sed 's/^Merging //')
-branch=${branch#quilt/}
-branch=${branch%%/*}
+tools_dir=$(dirname "$0")
+"$tools_dir"/message_helper "$@" "$subject" <<EOF
+After merging the BRANCH tree, today's linux-next build (KCONFIG_NAME) failed like this:
-contact=$(sed -n "/ $branch /s/ .*$//p" $control)
-sylpheed --compose "mailto:$contact?Cc=linux-next@vger.kernel.org&Subject=linux-next: $branch tree build failure&Body=Hi ,%0A\
-%0A\
-Today's linux-next build () failed like this:"
+Caused by commit
+
+ ("")
+EOF
+
+exit 0