From e3059b22f27dc4dd17b7cdaabca1c966dec982e9 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 6 Oct 2025 10:25:25 -0400 Subject: [PATCH] hvsp: make cc_list optional Signed-off-by: Hugo Villeneuve --- scripts/kernel-send-patches.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/kernel-send-patches.sh b/scripts/kernel-send-patches.sh index 6fa21e0..16d260c 100755 --- a/scripts/kernel-send-patches.sh +++ b/scripts/kernel-send-patches.sh @@ -164,11 +164,6 @@ if [ x"${cover}" = x"yes" ]; then fi fi -if [ x"${cc_list}" = x"" ]; then - echo "Missing cc_list shell variable" - exit 1 -fi - if [ x"${base_branch}" = x"" ]; then echo "Missing base_branch shell variable" exit 1 @@ -243,6 +238,10 @@ collect_email_addresses() add_cc_list_addresses() { + if [ x"${cc_list}" = x"" ]; then + return + fi + for address in ${cc_list}; do CC_OPTS="${CC_OPTS} --cc ${address}" done -- 2.20.1