Skip to content

Commit 5b8844a

Browse files
authored
scripts : fix repos cloned with .git extension (ggml-org#18669)
1 parent 7e16fef commit 5b8844a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/pr2wt.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ url_origin=$(git config --get remote.origin.url) || {
3434
}
3535

3636
org_repo=$(echo $url_origin | cut -d/ -f4-)
37+
org_repo=${org_repo%.git}
3738

3839
echo "org/repo: $org_repo"
3940

0 commit comments

Comments
 (0)