From b2e90ddd43288c075b6029e213578e7b125c3924 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 30 Jul 2024 00:18:10 +0200 Subject: [PATCH] =?UTF-8?q?=E2=86=93=20&=20split?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spcd.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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}"