]> code.ossystems Code Review - openembedded-core.git/commitdiff
create-pull-request: fix for OE cgit URL change
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 19 Jan 2017 20:37:08 +0000 (09:37 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:04:01 +0000 (12:04 +0000)
The /cgit.cgi/ part is no longer valid in cgit URLs on
git.openembedded.org as of recent infrastructure changes.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/create-pull-request

index a88f35a4a3936c95b7225dffaaab67f8cf294edd..e82858bc983769400845bc34fcc1c2c0c597af67 100755 (executable)
@@ -168,7 +168,7 @@ case "$REMOTE_URL" in
                WEB_URL="http://git.pokylinux.org/cgit.cgi/$REMOTE_REPO/log/?h=$BRANCH"
                ;;
        *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*)
                WEB_URL="https://github.com/$REMOTE_REPO/tree/$BRANCH"