From: Sigbjørn Skjæret Date: Wed, 7 Jan 2026 21:35:34 +0000 (+0100) Subject: scripts : fix repos cloned with .git extension (#18669) X-Git-Tag: upstream/0.0.7721~55 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=5b8844ae531d8ff09c1c00a2022293d5b674c787;p=pkg%2Fggml%2Fsources%2Fllama.cpp scripts : fix repos cloned with .git extension (#18669) --- diff --git a/scripts/pr2wt.sh b/scripts/pr2wt.sh index 22251339..36ccde2f 100755 --- a/scripts/pr2wt.sh +++ b/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"