diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2019-07-30 09:54:43 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-31 13:50:46 +0100 |
commit | bbd51cbc4a65c2d3958723d92f8ae9fd9073cccd (patch) | |
tree | 7bc977dd32e66d6fbe5916b8385d6123c0021c2b /scripts | |
parent | f3649983d3c4d0b7b493861e126b6ea62636379b (diff) | |
download | poky-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-x | scripts/create-pull-request | 2 |
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. |
259 | if [ -n "$SUBJECT" ]; then | 259 | if [ -n "$SUBJECT" ]; then |
260 | sed -i -e "s/\*\*\* SUBJECT HERE \*\*\*/$SUBJECT/" "$CL" | 260 | sed -i -e "s\`\*\*\* SUBJECT HERE \*\*\*\`$SUBJECT\`" "$CL" |
261 | fi | 261 | fi |
262 | 262 | ||
263 | 263 | ||