diff options
-rwxr-xr-x | scripts/create-pull-request | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request index 19b640fdb8..d52098ee60 100755 --- a/scripts/create-pull-request +++ b/scripts/create-pull-request | |||
@@ -102,7 +102,7 @@ while getopts "b:chi:m:o:p:r:s:u:" OPT; do | |||
102 | case "$REMOTE_URL" in | 102 | case "$REMOTE_URL" in |
103 | *@*) | 103 | *@*) |
104 | USER_RE="[A-Za-z0-9_.@][A-Za-z0-9_.@-]*\$\?" | 104 | USER_RE="[A-Za-z0-9_.@][A-Za-z0-9_.@-]*\$\?" |
105 | PROTO_RE="[a-z][a-z]*://" | 105 | PROTO_RE="[a-z][a-z+]*://" |
106 | GIT_RE="\(^\($PROTO_RE\)\?$USER_RE@\)\([^:/]*\)[:/]\(.*\)" | 106 | GIT_RE="\(^\($PROTO_RE\)\?$USER_RE@\)\([^:/]*\)[:/]\(.*\)" |
107 | REMOTE_URL=${REMOTE_URL%.git} | 107 | REMOTE_URL=${REMOTE_URL%.git} |
108 | REMOTE_REPO=$(echo $REMOTE_URL | sed "s#$GIT_RE#\4#") | 108 | REMOTE_REPO=$(echo $REMOTE_URL | sed "s#$GIT_RE#\4#") |