Compare commits
No commits in common. "bd91d87542aa1da889f88470a4cde2a3e4ba0560" and "beefc0ff286e33ef695d08c358718d3a1a206908" have entirely different histories.
bd91d87542
...
beefc0ff28
1 changed files with 5 additions and 7 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,10 +707,8 @@ ${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
|
||||||
spcd_ipm__file="${spcd_ipm__root}/spcd.sh"
|
echo -n "${SPCD}" | sha256sum
|
||||||
echo "${SPCD}" > "${spcd_ipm__file}"
|
echo -n "${SPCD}" | wc --bytes
|
||||||
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}"
|
||||||
|
@ -749,7 +747,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
|
||||||
|
@ -922,4 +920,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