↓ & split

This commit is contained in:
Marc Beninca 2024-07-30 00:18:10 +02:00
parent 07ae43d17e
commit b2e90ddd43
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

16
spcd.sh
View file

@ -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}"