mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-06-27 23:50:20 -05:00
scripts : fix repos cloned with .git extension (#18669)
This commit is contained in:
parent
7e16fef085
commit
5b8844ae53
@ -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"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user