summaryrefslogtreecommitdiffstats
path: root/src/script/ceph-backport.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/ceph-backport.sh')
-rwxr-xr-xsrc/script/ceph-backport.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/ceph-backport.sh b/src/script/ceph-backport.sh
index a56509e3d3a..c216ed32d9b 100755
--- a/src/script/ceph-backport.sh
+++ b/src/script/ceph-backport.sh
@@ -779,7 +779,7 @@ function maybe_deduce_remote {
else
assert_fail "bad remote_type ->$remote_type<- in maybe_deduce_remote"
fi
- remote=$(git remote -v | grep --extended-regexp --ignore-case '(://|@)github.com(/|:|:/)'${url_component}'/ceph(\s|\.|\/)' | head -n1 | cut -f 1)
+ remote=$(git remote -v | grep --extended-regexp --ignore-case '(://|@)github.com(/|:|:/)'${url_component}'/ceph(\s|\.|\/|-)' | head -n1 | cut -f 1)
echo "$remote"
}