#!/bin/bash
-subject="build warning after merge of the BRANCH tree"
+w='warning'
+t='this'
+if [ "X$1" = 'X-p' ]; then
+ w='warnings'
+ t='these'
+ plural=true
+ shift
+fi
+
+subject="build $w after merge of the BRANCH tree"
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:
+After merging the BRANCH tree, today's linux-next build (KCONFIG_NAME) produced $t $w:
Introduced by commit