From 0715a70cab6bfa5e2789ec32789c7d7f7c78dfb8 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 23:03:21 +0200 Subject: [PATCH] spcd_python_pip --- spcd/main.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index 16bb12b..f536e60 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -1059,7 +1059,7 @@ spcd_install_python_modules() { spcd_step "List" spcd_os_ls "${spcd_ipm__target}" spcd_step "Main" - spcd_ipm__path="$(spcd_pip_install "${SPCD_GIT_MAIN}")" + spcd_ipm__path="$(spcd_python_pip "${SPCD_GIT_MAIN}")" # check matching of file and variable spcd_step "Check" spcd_ipm__script="${spcd_ipm__path}/main.sh" @@ -1072,7 +1072,7 @@ spcd_install_python_modules() { ls -l "${spcd_ipm__script}" "${SPCD_CMD_SUM}" -c "${spcd_ipm__check}" || spcd_error_ci "SPCD" spcd_step "Root" - spcd_pip_install "${SPCD_GIT_ROOT}" + spcd_python_pip "${SPCD_GIT_ROOT}" spcd_step "List" spcd_os_ls "${spcd_ipm__target}" spcd_step_out @@ -1203,14 +1203,14 @@ spcd_openssl() { fi } -spcd_pip_install() { +spcd_python_pip() { if [ -n "${1}" ]; then - spcd_pi__name="$(basename "${1}")" - spcd_pi__path="$(spcd_git_clone "${1}")" - spcd_pi__path="${spcd_pi__path}/${spcd_pi__name}" - spcd_pi__target="${SPCD_PYTHON_VENV_PACKAGES}" - cp --recursive "${spcd_pi__path}" "${spcd_pi__target}" - echo "${spcd_pi__target}/${spcd_pi__name}" + spcd_pp__name="$(basename "${1}")" + spcd_pp__path="$(spcd_git_clone "${1}")" + spcd_pp__path="${spcd_pp__path}/${spcd_pp__name}" + spcd_pp__target="${SPCD_PYTHON_VENV_PACKAGES}" + cp --recursive "${spcd_pp__path}" "${spcd_pp__target}" + echo "${spcd_pp__target}/${spcd_pp__name}" fi }