summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2019-07-30 09:54:43 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-31 13:50:46 +0100
commitbbd51cbc4a65c2d3958723d92f8ae9fd9073cccd (patch)
tree7bc977dd32e66d6fbe5916b8385d6123c0021c2b /scripts
parentf3649983d3c4d0b7b493861e126b6ea62636379b (diff)
downloadpoky-bbd51cbc4a65c2d3958723d92f8ae9fd9073cccd.tar.gz
scripts/create-pull-request: fix putting subject containing / into cover letter
If a single-commit series had a shortlog containing a "/" character then that prevented putting the shortlog into the subject of the cover letter message. Use a different separating character with the sed command (one much less likely to appear) in order to fix it. (From OE-Core rev: d4c3f93d7407ac1ea20b33149f20153972d631c0) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create-pull-request2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 762828fd9a..8eefcf63a5 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -257,7 +257,7 @@ fi
257 257
258# Replace the SUBJECT token with it. 258# Replace the SUBJECT token with it.
259if [ -n "$SUBJECT" ]; then 259if [ -n "$SUBJECT" ]; then
260 sed -i -e "s/\*\*\* SUBJECT HERE \*\*\*/$SUBJECT/" "$CL" 260 sed -i -e "s\`\*\*\* SUBJECT HERE \*\*\*\`$SUBJECT\`" "$CL"
261fi 261fi
262 262
263 263