From 8ce60b031a92f17708b16bc61fe85028fb883937 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 23 Aug 2024 18:18:43 +0200 Subject: [PATCH] always check spcd/main.sh --- spcd/main.sh | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index 59ceab2..1b80c4f 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -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