This commit is contained in:
Marc Beninca 2024-08-31 09:30:59 +02:00
parent 014d10bf98
commit 1c5b7d138d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -829,12 +829,13 @@ spcd_python_ln() {
spcd_python_pip() { spcd_python_pip() {
if [ -n "${1}" ]; then if [ -n "${1}" ]; then
spcd_pp__name="$(basename "${1}")" local name path target
spcd_pp__path="$(spcd_git_clone "${1}")" name="$(basename "${1}")"
spcd_pp__path="${spcd_pp__path}/${spcd_pp__name}" path="$(spcd_git_clone "${1}")"
spcd_pp__target="${SPCD_PYTHON_VENV_PACKAGES}" path="${path}/${name}"
cp --recursive "${spcd_pp__path}" "${spcd_pp__target}" target="${SPCD_PYTHON_VENV_PACKAGES}"
echo "${spcd_pp__target}/${spcd_pp__name}" cp --recursive "${path}" "${target}"
echo "${target}/${name}"
fi fi
} }