Compare commits
4 commits
beefc0ff28
...
bd91d87542
Author | SHA1 | Date | |
---|---|---|---|
bd91d87542 | |||
b89469f7a9 | |||
f651525bf1 | |||
a2806fd2a0 |
1 changed files with 7 additions and 5 deletions
12
spcd.sh
12
spcd.sh
|
@ -35,7 +35,7 @@ spcd_main() {
|
||||||
spcd_install_packages
|
spcd_install_packages
|
||||||
spcd_install_python_modules
|
spcd_install_python_modules
|
||||||
spcd_write_python_module
|
spcd_write_python_module
|
||||||
spcd_switch_to_python "${@}"
|
spcd_switch_to_python
|
||||||
}
|
}
|
||||||
|
|
||||||
# steps
|
# steps
|
||||||
|
@ -707,8 +707,10 @@ ${spcd_ipm__url}
|
||||||
exit
|
exit
|
||||||
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
|
||||||
echo -n "${SPCD}" | sha256sum
|
spcd_ipm__file="${spcd_ipm__root}/spcd.sh"
|
||||||
echo -n "${SPCD}" | wc --bytes
|
echo "${SPCD}" > "${spcd_ipm__file}"
|
||||||
|
ls -l "${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}"
|
spcd_ipm__path="${spcd_ipm__root}/${spcd_ipm__name}/${spcd_ipm__name}"
|
||||||
|
@ -747,7 +749,7 @@ spcd_switch_to_python() {
|
||||||
${SPCD_PATH}
|
${SPCD_PATH}
|
||||||
↓
|
↓
|
||||||
${SPCD_PYTHON_PACKAGES}/${spcd_stp__name}"
|
${SPCD_PYTHON_PACKAGES}/${spcd_stp__name}"
|
||||||
"${SPCD_PYTHON_ALIAS}" -m "${spcd_stp__name}" "${@}"
|
"${SPCD_PYTHON_ALIAS}" -m "${spcd_stp__name}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# functions
|
# functions
|
||||||
|
@ -920,4 +922,4 @@ SPCD___UP="${SPCD_BOX_UP}${SPCD_HORIZONTAL}"
|
||||||
SPCD_SHUT="${SPCD_BOX_UP}${SPCD_BOX_LEFT}"
|
SPCD_SHUT="${SPCD_BOX_UP}${SPCD_BOX_LEFT}"
|
||||||
|
|
||||||
# run
|
# run
|
||||||
spcd_main "${@}"
|
spcd_main
|
||||||
|
|
Loading…
Reference in a new issue