When subject contains '/', we will meet the following error when using create-pull-request.
sed: -e expression #1, char 59: unknown option to `s' The problem is not critical. But it's better to fix it. Signed-off-by: Chen Qi <[email protected]> --- scripts/create-pull-request | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/create-pull-request b/scripts/create-pull-request index 280880b..b4cf706 100755 --- a/scripts/create-pull-request +++ b/scripts/create-pull-request @@ -278,6 +278,7 @@ fi # Replace the SUBJECT token with it. if [ -n "$SUBJECT" ]; then + SUBJECT="`echo $SUBJECT | sed -e 's#/#\\\\/#g'`" sed -i -e "s/\*\*\* SUBJECT HERE \*\*\*/$SUBJECT/" "$CL" fi -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
