git/clone

This commit is contained in:
Marc Beninca 2024-09-09 00:01:20 +02:00
parent 7b2a026b1e
commit 8c9880693f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -778,7 +778,7 @@ spcd_python_pip() {
if [ -n "${1}" ]; then if [ -n "${1}" ]; then
local name path target local name path target
name="$(basename "${1}")" name="$(basename "${1}")"
path="$(spcd_git_clone "${1}")" path="$(spcd_f_git_clone "${1}")"
path="${path}/${name}" path="${path}/${name}"
target="${SPCD_PYTHON_VENV_PACKAGES}" target="${SPCD_PYTHON_VENV_PACKAGES}"
cp --recursive "${path}" "${target}" cp --recursive "${path}" "${target}"
@ -872,7 +872,7 @@ spcd_f_env_workspace() {
# │ f │ git │ # │ f │ git │
# ╰───┴─────╯ # ╰───┴─────╯
spcd_git_clone() { spcd_f_git_clone() {
if [ -n "${1}" ]; then if [ -n "${1}" ]; then
local name path url local name path url
name="$(basename "${1}")" name="$(basename "${1}")"