This commit is contained in:
Marc Beninca 2024-08-31 10:03:23 +02:00
parent 6be00f1655
commit 5c0956c09b
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1258,26 +1258,27 @@ index-url = ${SPCD_URL_PYTHON}/simple
spcd_step__python_modules() { spcd_step__python_modules() {
spcd_step_in "Modules" spcd_step_in "Modules"
spcd_ipm__target="${SPCD_PYTHON_VENV_PACKAGES}" local target path script check
target="${SPCD_PYTHON_VENV_PACKAGES}"
spcd_step "List" spcd_step "List"
spcd_os_ls "${spcd_ipm__target}" spcd_os_ls "${target}"
spcd_step "Main" spcd_step "Main"
spcd_ipm__path="$(spcd_python_pip "${SPCD_GIT_SPCD}")" path="$(spcd_python_pip "${SPCD_GIT_SPCD}")"
# check matching of file and variable # check matching of file and variable
spcd_step "Check" spcd_step "Check"
spcd_ipm__script="${spcd_ipm__path}/bootstrap.sh" script="${path}/bootstrap.sh"
ls -l "${spcd_ipm__script}" ls -l "${script}"
spcd_ipm__check="${spcd_ipm__script}.${SPCD_CMD_SUM}" check="${script}.${SPCD_CMD_SUM}"
"${SPCD_CMD_SUM}" "${spcd_ipm__script}" >"${spcd_ipm__check}" "${SPCD_CMD_SUM}" "${script}" >"${check}"
printf "%s" "${SPCD}" >"${spcd_ipm__script}" printf "%s" "${SPCD}" >"${script}"
ls -l "${spcd_ipm__script}" ls -l "${script}"
dos2unix "${spcd_ipm__script}" dos2unix "${script}"
ls -l "${spcd_ipm__script}" ls -l "${script}"
"${SPCD_CMD_SUM}" -c "${spcd_ipm__check}" || spcd_error_ci "SPCD" "${SPCD_CMD_SUM}" -c "${check}" || spcd_error_ci "SPCD"
spcd_step "Root" spcd_step "Root"
spcd_python_pip "${SPCD_GIT_RWX}" spcd_python_pip "${SPCD_GIT_RWX}"
spcd_step "List" spcd_step "List"
spcd_os_ls "${spcd_ipm__target}" spcd_os_ls "${target}"
spcd_step_out spcd_step_out
} }