]> git.ozlabs.org Git - next-scripts/blobdiff - build_warn
update to_build_host a bit
[next-scripts] / build_warn
index 5d0be6f6445911bda476127d0fe36dcd034d5286..67a430b5cebe3867d8edb5739ec7e635205a454e 100755 (executable)
@@ -1,19 +1,15 @@
 #!/bin/bash
 
-log=../merge.log
-[ -f merge.log ] && log=merge.log
-control=../real_control
-[ -f real_control ] && control=real_control
+subject="build warning 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) produced this warning:
 
-contact=$(sed -n "/    $branch /s/     .*$//p" $control)
-greeting=${contact%% *}
-[ "${contact%,*}" = "${contact}" ] || greeting="all"
 
-sylpheed --compose "mailto:$contact?Cc=linux-next@vger.kernel.org,%20linux-kernel@vger.kernel.org&Subject=linux-next: build warning after merge of $branch tree&Body=Hi $greeting,%0A\
-%0A\
-After merging the $branch tree, today's linux-next build ()%0A\
-produced this warning:"
+Introduced by commit
+
+   ("")
+EOF
+
+exit 0