diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2019-07-30 09:46:14 +1200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2019-07-30 09:51:41 +1200 |
commit | c6cb46b945585fc9550164b5ae39cd5b65ff047d (patch) | |
tree | 787511ad1bf6d115cb513f57955fbe9b57335912 /scripts | |
parent | 1386aefe98db03a9b54ca065c41e63ffc96db489 (diff) | |
download | openembedded-core-contrib-paule/create-pull-request.tar.gz |
scripts/create-pull-request: fix putting subject containing / into cover letterpaule/create-pull-request
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>
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 # 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 |