]> Untitled Git - hvutilities.git/commitdiff
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 4c0bcb9a41f37b1f691ef3d2ea1c06bd9a2c6598..4e7688fb1c49838e948bf4089c895ecaea887197 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