From: Hugo Villeneuve Date: Mon, 29 Jan 2024 23:14:44 +0000 (-0500) Subject: hvsp: fix error with slashes in subject line X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=925306ad7b7fd188b71f0872fa26427e0838922e;p=hvutilities.git hvsp: fix error with slashes in subject line --- diff --git a/scripts/kernel-send-patches.sh b/scripts/kernel-send-patches.sh index 4c0bcb9..4e7688f 100755 --- a/scripts/kernel-send-patches.sh +++ b/scripts/kernel-send-patches.sh @@ -320,7 +320,7 @@ git format-patch --subject-prefix="${GIT_FORMAT_PATCH_SUBJECT}" \ if [ x"${cover}" = x"yes" ]; then # Replace subject line in cover letter: - sed -i -e "s/\*\*\* SUB.*/${subject}/" ${srcdir}/${series_prefix}0000-cover-letter.patch + sed -i -e "s@\*\*\* SUB.*@${subject}@" ${srcdir}/${series_prefix}0000-cover-letter.patch # Replace blurb line in cover letter: sed -i -e "/.*BLURB.*/{r /tmp/cover-letter.txt" -e 'd}' ${srcdir}/${series_prefix}0000-cover-letter.patch