]> git.ozlabs.org Git - next-scripts/commitdiff
update build error/warning messages
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Feb 2010 23:22:58 +0000 (10:22 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Feb 2010 23:22:58 +0000 (10:22 +1100)
build_msg
build_warn

index 5c5273adc77662f2f7cd42cc10306eeff59c2c08..4d6123c47f411f66b8263054acded6960fd9c32f 100755 (executable)
--- 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:"
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:"