]> git.ozlabs.org Git - next-scripts/blobdiff - build_warn
update build error/warning messages
[next-scripts] / build_warn
index 65291f92eb1086119e505e4a1e96445cd3288e07..5d0be6f6445911bda476127d0fe36dcd034d5286 100755 (executable)
@@ -10,7 +10,10 @@ branch=${branch#quilt/}
 branch=${branch%%/*}
 
 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: $branch tree build warning&Body=Hi ,%0A\
+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\
-Today's linux-next build () produced this warning:"
+After merging the $branch tree, today's linux-next build ()%0A\
+produced this warning:"