Fix stripping trailing forward slash for git-get (#1172)
Some checks failed
ci / lint (push) Has been cancelled
ci / typo (push) Has been cancelled
ci / test (push) Has been cancelled
ci / build (macos-latest) (push) Has been cancelled
ci / build (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Jared Baur 2024-10-17 19:22:05 -07:00 committed by GitHub
parent 233686d2a2
commit 8eb1d72f07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,7 @@ if [ -z "$clone_path" ]; then
fi
dirname=${url%/}
dirname=${url%.git}
dirname=${dirname%.git}
dirname=${dirname##*/}
mkdir -p "$clone_path"