Signed-off-by: Darren Hart <[email protected]>
---
 scripts/create-pull-request |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index a9cf6f9..634a289 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -82,6 +82,10 @@ while getopts "b:chi:m:o:p:r:s:u:" OPT; do
                        REMOTE_REPO=$(echo $REMOTE_URL | sed "s#.*/\(.*\)#\1#")
                        REMOTE_URL=${REMOTE_URL/"ssh://git@"/"git://"}
                        ;;
+               *ssh://[email protected]*)
+                       REMOTE_REPO=$(echo $REMOTE_URL | sed "s#.*/\(.*\)#\1#")
+                       REMOTE_URL=${REMOTE_URL/"ssh://git@"/"git://"}
+                       ;;
                [email protected]:*)
                        REMOTE_REPO=$(echo $REMOTE_URL | sed 
's#.*:\(.*\)\(\.git\)$#\1#')
                        
REMOTE_URL=${REMOTE_URL/"[email protected]:"/"git://github.com/"}
@@ -111,6 +115,9 @@ case "$REMOTE_URL" in
        *git.pokylinux.org*)
                
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";
+               ;;
        *github.com*)
                WEB_URL="https://github.com/$REMOTE_REPO/tree/$BRANCH";
                ;;
-- 
1.7.1


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to