From: Stephen Rothwell Date: Tue, 2 Feb 2010 23:22:58 +0000 (+1100) Subject: update build error/warning messages X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=8095ee47d42e994ae6601bad9f1804af5789e9a8;p=next-scripts update build error/warning messages --- diff --git a/build_msg b/build_msg index 5c5273a..4d6123c 100755 --- a/build_msg +++ b/build_msg @@ -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 failure&Body=Hi ,%0A\ +sylpheed --compose "mailto:$contact?Cc=linux-next@vger.kernel.org,%20linux-kernel@vger.kernel.org&Subject=linux-next: build failure after merge of $branch tree&Body=Hi $greeting,%0A\ %0A\ -Today's linux-next build () failed like this:" +After merging the $branch tree, today's linux-next build ()%0A\ +failed like this:" diff --git a/build_warn b/build_warn index 65291f9..5d0be6f 100755 --- a/build_warn +++ b/build_warn @@ -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:"