always check spcd/main.sh
Some checks failed
/ job (push) Failing after 12m9s

This commit is contained in:
Marc Beninca 2024-08-23 18:18:43 +02:00
parent 7d074f4588
commit 8ce60b031a
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -718,18 +718,16 @@ spcd_install_python_modules() {
spcd_split
spcd_ipm__path="$(spcd_pip_install "${SPCD_GIT_MAIN}")"
# check matching of file and variable
spcd_split
spcd_ipm__script="${spcd_ipm__path}/main.sh"
if [ -f "${spcd_ipm__script}" ]; then
spcd_split
ls -l "${spcd_ipm__script}"
spcd_ipm__check="${spcd_ipm__script}.${SPCD_CMD_SUM}"
"${SPCD_CMD_SUM}" "${spcd_ipm__script}" >"${spcd_ipm__check}"
printf "%s" "${SPCD}" >"${spcd_ipm__script}"
ls -l "${spcd_ipm__script}"
dos2unix "${spcd_ipm__script}"
ls -l "${spcd_ipm__script}"
"${SPCD_CMD_SUM}" -c "${spcd_ipm__check}" || spcd_error_ci "SPCD"
fi
ls -l "${spcd_ipm__script}"
spcd_ipm__check="${spcd_ipm__script}.${SPCD_CMD_SUM}"
"${SPCD_CMD_SUM}" "${spcd_ipm__script}" >"${spcd_ipm__check}"
printf "%s" "${SPCD}" >"${spcd_ipm__script}"
ls -l "${spcd_ipm__script}"
dos2unix "${spcd_ipm__script}"
ls -l "${spcd_ipm__script}"
"${SPCD_CMD_SUM}" -c "${spcd_ipm__check}" || spcd_error_ci "SPCD"
spcd_split
spcd_pip_install "${SPCD_GIT_ROOT}"
spcd_split