scripts : fix repos cloned with .git extension (#18669)
This commit is contained in:
1 parent
7e16fef085
commit
5b8844ae53
1 file changed
+1
@@ -34,6 +34,7 @@ url_origin=$(git config --get remote.origin.url) || {
|
||||
}
|
||||
|
||||
org_repo=$(echo $url_origin | cut -d/ -f4-)
|
||||
org_repo=${org_repo%.git}
|
||||
|
||||
echo "org/repo: $org_repo"
|
||||
|
||||
|
||||
Reference in new issue
Block a user