create-pull-request: fix for OE cgit URL change
The /cgit.cgi/ part is no longer valid in cgit URLs on git.openembedded.org as of recent infrastructure changes. (From OE-Core rev: a17ac420290c7e0debddec78b9540ae8726720dc) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
61f206195d
commit
dd83bdb2f7
|
@ -168,7 +168,7 @@ case "$REMOTE_URL" in
|
||||||
WEB_URL="http://git.pokylinux.org/cgit.cgi/$REMOTE_REPO/log/?h=$BRANCH"
|
WEB_URL="http://git.pokylinux.org/cgit.cgi/$REMOTE_REPO/log/?h=$BRANCH"
|
||||||
;;
|
;;
|
||||||
*git.openembedded.org*)
|
*git.openembedded.org*)
|
||||||
WEB_URL="http://cgit.openembedded.org/cgit.cgi/$REMOTE_REPO/log/?h=$BRANCH"
|
WEB_URL="http://cgit.openembedded.org/$REMOTE_REPO/log/?h=$BRANCH"
|
||||||
;;
|
;;
|
||||||
*github.com*)
|
*github.com*)
|
||||||
WEB_URL="https://github.com/$REMOTE_REPO/tree/$BRANCH"
|
WEB_URL="https://github.com/$REMOTE_REPO/tree/$BRANCH"
|
||||||
|
|
Loading…
Reference in New Issue