This commit is contained in:
parent
6f6fc9d061
commit
b450c9534c
2 changed files with 7 additions and 8 deletions
|
@ -103,5 +103,4 @@ from various contexts of CA, CI and OCI / OS.
|
||||||
|
|
||||||
### .sh
|
### .sh
|
||||||
|
|
||||||
* check if file & variable match
|
|
||||||
* support opensuse
|
* support opensuse
|
||||||
|
|
14
spcd.sh
14
spcd.sh
|
@ -721,13 +721,13 @@ ${SPCD_PYTHON_PACKAGES}"
|
||||||
spcd_ipm__script="${spcd_ipm__root}/${spcd_ipm__name}/spcd.sh"
|
spcd_ipm__script="${spcd_ipm__root}/${spcd_ipm__name}/spcd.sh"
|
||||||
if [ -f "${spcd_ipm__script}" ]; then
|
if [ -f "${spcd_ipm__script}" ]; then
|
||||||
spcd_split
|
spcd_split
|
||||||
spcd_ipm__file="${spcd_ipm__root}/spcd.sh"
|
spcd_ipm__check="${spcd_ipm__root}/check.sha512sum"
|
||||||
printf "%s" "${SPCD}" >"${spcd_ipm__file}"
|
sha512sum "${spcd_ipm__script}" > "${spcd_ipm__check}"
|
||||||
ls -l "${spcd_ipm__file}"
|
printf "%s" "${SPCD}" >"${spcd_ipm__script}"
|
||||||
dos2unix "${spcd_ipm__file}"
|
ls -l "${spcd_ipm__script}"
|
||||||
ls -l "${spcd_ipm__file}"
|
dos2unix "${spcd_ipm__script}"
|
||||||
sha512sum "${spcd_ipm__file}"
|
ls -l "${spcd_ipm__script}"
|
||||||
sha512sum "${spcd_ipm__script}"
|
sha512sum -c "${spcd_ipm__check}" || spcd_error_ci "SPCD"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
spcd_split
|
spcd_split
|
||||||
|
|
Loading…
Reference in a new issue