diff --git a/spcd.sh b/spcd.sh index 7714c83..f4431d5 100644 --- a/spcd.sh +++ b/spcd.sh @@ -710,8 +710,17 @@ ${spcd_ipm__url} "${spcd_ipm__url}" \ "${spcd_ipm__root}/${spcd_ipm__name}" || exit + spcd_ipm__path="${spcd_ipm__root}/${spcd_ipm__name}/${spcd_ipm__name}" + echo "\ +${spcd_ipm__path} +↓ +${SPCD_PYTHON_PACKAGES}" + cp --recursive "${spcd_ipm__path}" "${SPCD_PYTHON_PACKAGES}" || + exit + # check matching of file and variable spcd_ipm__script="${spcd_ipm__root}/${spcd_ipm__name}/spcd.sh" if [ -f "${spcd_ipm__script}" ]; then + spcd_split spcd_ipm__file="${spcd_ipm__root}/spcd.sh" printf "%s" "${SPCD}" >"${spcd_ipm__file}" ls -l "${spcd_ipm__file}" @@ -720,13 +729,6 @@ ${spcd_ipm__url} sha256sum "${spcd_ipm__file}" sha256sum "${spcd_ipm__script}" fi - spcd_ipm__path="${spcd_ipm__root}/${spcd_ipm__name}/${spcd_ipm__name}" - echo "\ -${spcd_ipm__path} -↓ -${SPCD_PYTHON_PACKAGES}" - cp --recursive "${spcd_ipm__path}" "${SPCD_PYTHON_PACKAGES}" || - exit done spcd_split spcd_ls "${SPCD_PYTHON_PACKAGES}"