Compare commits

..

4 commits

Author SHA1 Message Date
bd91d87542
wc → ls
All checks were successful
/ job (push) Successful in 8m23s
2024-07-29 21:03:31 +02:00
b89469f7a9
−n 2024-07-29 20:57:53 +02:00
f651525bf1
−args 2024-07-29 20:56:28 +02:00
a2806fd2a0
alpannoying 2024-07-29 20:50:14 +02:00

12
spcd.sh
View file

@ -35,7 +35,7 @@ spcd_main() {
spcd_install_packages
spcd_install_python_modules
spcd_write_python_module
spcd_switch_to_python "${@}"
spcd_switch_to_python
}
# steps
@ -707,8 +707,10 @@ ${spcd_ipm__url}
exit
spcd_ipm__script="${spcd_ipm__root}/${spcd_ipm__name}/spcd.sh"
if [ -f "${spcd_ipm__script}" ]; then
echo -n "${SPCD}" | sha256sum
echo -n "${SPCD}" | wc --bytes
spcd_ipm__file="${spcd_ipm__root}/spcd.sh"
echo "${SPCD}" > "${spcd_ipm__file}"
ls -l "${spcd_ipm__file}"
sha256sum "${spcd_ipm__file}"
sha256sum "${spcd_ipm__script}"
fi
spcd_ipm__path="${spcd_ipm__root}/${spcd_ipm__name}/${spcd_ipm__name}"
@ -747,7 +749,7 @@ spcd_switch_to_python() {
${SPCD_PATH}
${SPCD_PYTHON_PACKAGES}/${spcd_stp__name}"
"${SPCD_PYTHON_ALIAS}" -m "${spcd_stp__name}" "${@}"
"${SPCD_PYTHON_ALIAS}" -m "${spcd_stp__name}"
}
# functions
@ -920,4 +922,4 @@ SPCD___UP="${SPCD_BOX_UP}${SPCD_HORIZONTAL}"
SPCD_SHUT="${SPCD_BOX_UP}${SPCD_BOX_LEFT}"
# run
spcd_main "${@}"
spcd_main