↓ & split
This commit is contained in:
parent
07ae43d17e
commit
b2e90ddd43
1 changed files with 9 additions and 7 deletions
16
spcd.sh
16
spcd.sh
|
@ -710,8 +710,17 @@ ${spcd_ipm__url}
|
||||||
"${spcd_ipm__url}" \
|
"${spcd_ipm__url}" \
|
||||||
"${spcd_ipm__root}/${spcd_ipm__name}" ||
|
"${spcd_ipm__root}/${spcd_ipm__name}" ||
|
||||||
exit
|
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"
|
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_ipm__file="${spcd_ipm__root}/spcd.sh"
|
spcd_ipm__file="${spcd_ipm__root}/spcd.sh"
|
||||||
printf "%s" "${SPCD}" >"${spcd_ipm__file}"
|
printf "%s" "${SPCD}" >"${spcd_ipm__file}"
|
||||||
ls -l "${spcd_ipm__file}"
|
ls -l "${spcd_ipm__file}"
|
||||||
|
@ -720,13 +729,6 @@ ${spcd_ipm__url}
|
||||||
sha256sum "${spcd_ipm__file}"
|
sha256sum "${spcd_ipm__file}"
|
||||||
sha256sum "${spcd_ipm__script}"
|
sha256sum "${spcd_ipm__script}"
|
||||||
fi
|
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
|
done
|
||||||
spcd_split
|
spcd_split
|
||||||
spcd_ls "${SPCD_PYTHON_PACKAGES}"
|
spcd_ls "${SPCD_PYTHON_PACKAGES}"
|
||||||
|
|
Loading…
Reference in a new issue