summaryrefslogtreecommitdiffstats
path: root/scripts/create-pull-request
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2019-07-30 09:46:14 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2019-07-30 09:51:41 +1200
commitc6cb46b945585fc9550164b5ae39cd5b65ff047d (patch)
tree787511ad1bf6d115cb513f57955fbe9b57335912 /scripts/create-pull-request
parent1386aefe98db03a9b54ca065c41e63ffc96db489 (diff)
downloadopenembedded-core-contrib-paule/create-pull-request.tar.gz
openembedded-core-contrib-paule/create-pull-request.tar.bz2
openembedded-core-contrib-paule/create-pull-request.zip
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/create-pull-request')
-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
# 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