From 8095ee47d42e994ae6601bad9f1804af5789e9a8 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 3 Feb 2010 10:22:58 +1100 Subject: [PATCH] update build error/warning messages --- build_msg | 7 +++++-- build_warn | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) 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:" -- 2.39.5