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-29 23:46:59 +0100 |
commit | d4c3f93d7407ac1ea20b33149f20153972d631c0 (patch) | |
tree | 419caf0259d502f3157ad35e422c0f5d9e976dc3 /scripts | |
parent | 675e88e6e0bbd5ab2dcd4bdf97b0de59925a1be6 (diff) | |
download | openembedded-core-contrib-d4c3f93d7407ac1ea20b33149f20153972d631c0.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.
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 762828fd9ad..8eefcf63a56 100755 --- a/scripts/create-pull-request +++ b/scripts/create-pull-request @@ -257,7 +257,7 @@ fi # Replace the SUBJECT token with it. if [ -n "$SUBJECT" ]; then - sed -i -e "s/\*\*\* SUBJECT HERE \*\*\*/$SUBJECT/" "$CL" + sed -i -e "s\`\*\*\* SUBJECT HERE \*\*\*\`$SUBJECT\`" "$CL" fi |