hvsp: fix error with slashes in subject line
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 29 Jan 2024 23:14:44 +0000 (18:14 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 1 Mar 2024 15:54:29 +0000 (10:54 -0500)
scripts/kernel-send-patches.sh

index 4c0bcb9..4e7688f 100755 (executable)
@@ -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