mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-03-17 16:44:07 +00:00
scripts : fix repos cloned with .git extension (#18669)
This commit is contained in:
@@ -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