From 7b2a026b1e2403686f6934fd0dfa22e35a027be0 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 9 Sep 2024 00:00:26 +0200 Subject: [PATCH] git/url --- spcd/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 44445fe..a628e4f 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -877,13 +877,13 @@ spcd_git_clone() { local name path url name="$(basename "${1}")" path="${SPCD_DL}/${name}" - url="$(spcd_git_url "${1}")" + url="$(spcd_f_git_url "${1}")" git clone "${url}" "${path}" echo "${path}" fi } -spcd_git_url() { +spcd_f_git_url() { if [ -n "${1}" ]; then case "${1}" in http*) echo "${1}" ;;