Browse Source

scripts : fix repos cloned with .git extension (#18669)

Sigbjørn Skjæret 3 weeks ago
parent
commit
5b8844ae53
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/pr2wt.sh

+ 1 - 0
scripts/pr2wt.sh

@@ -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"