Add support for init command
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 11 Jan 2023 15:28:44 +0000 (10:28 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 1 Jun 2023 19:12:41 +0000 (15:12 -0400)
scripts/kernel-send-patches.sh

index 6cca90d..192cf91 100755 (executable)
@@ -207,6 +207,10 @@ rm -rf ${srcdir}/*.patch
 # If the cover letter is not between start and end commits, save a copy:
 cp ${srcdir}/cover-letter.txt /tmp
 
+if [ x"${init_cmd}" != x"" ]; then
+    ${init_cmd}
+fi
+
 patches_branch="kernel_send_patches"
 
 if [ x"${series}" != x"" ]; then