This commit is contained in:
abs3nt 2024-10-07 19:14:35 -07:00
parent 8262d30eb1
commit dce423f5fd
Signed by: abs3nt
GPG Key ID: A7BD96A8BAB04C09

View File

@ -10,7 +10,7 @@ repo_clone() {
suffix=".git"
mkdir -p "${output_path%"$suffix"}"
if [ ! -d "$output_path/.git" ]; then
if [ ! -d "${output_path%"$suffix"}/.git" ]; then
repourl=$(echo "$repo_prefix@$cleaned" | sed -e "s/\//:/1")
echo "Cloning $repourl to ${output_path%"$suffix"}..."
git clone "$repourl" "${output_path%"$suffix"}"