From: Hugo Villeneuve Date: Mon, 23 Mar 2026 20:29:49 +0000 (-0400) Subject: hvsp: autodefine commit_start/end from name variable X-Git-Url: http://gitweb.hugovil.com/sitemap.xml?a=commitdiff_plain;h=3730bc6d9fb7c9453aabb7cd6dbb3b8d4c52acda;p=hvutilities.git hvsp: autodefine commit_start/end from name variable Signed-off-by: Hugo Villeneuve --- diff --git a/scripts/kernel-send-patches.sh b/scripts/kernel-send-patches.sh index b4df889..d7b34ef 100755 --- a/scripts/kernel-send-patches.sh +++ b/scripts/kernel-send-patches.sh @@ -159,19 +159,17 @@ fi source ${srcdir}/infos.sh -if [ x"${commit_start}" = x"" ]; then - echo "Missing start commit message" +if [ x"${name}" = x"" ]; then + echo "Missing name tag" exit 1 fi -if [ x"${commit_end}" = x"" ]; then - echo "Missing end commit message" - exit 1 +if [ x"${commit_start}" = x"" ]; then + commit_start="start ${name}" fi -if [ x"${name}" = x"" ]; then - echo "Missing name tag" - exit 1 +if [ x"${commit_end}" = x"" ]; then + commit_end="end ${name}" fi if [ x"${cover}" = x"yes" ]; then