spcd_substep

This commit is contained in:
Marc Beninca 2024-08-21 11:47:17 +02:00
parent 96a35fdc8e
commit 8ab46c1d59
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

13
spcd.sh
View file

@ -952,7 +952,18 @@ spcd_split() {
spcd_step() {
SPCD_STEP=$((SPCD_STEP + 1))
SPCD_STEP_TEXT="${*}"
spcd_banner "${SPCD_STEP}" "${SPCD_STEP_TEXT}"
unset SPCD_SUBSTEP
spcd_banner "${SPCD_STEP}" "${SPCD_VERT}" "${SPCD_STEP_TEXT}"
}
spcd_substep() {
SPCD_SUBSTEP=$((SPCD_SUBSTEP + 1))
spcd_banner \
"${SPCD_STEP}.${SPCD_SUBSTEP}" \
"${SPCD_VERT}" \
"${SPCD_STEP_TEXT}" \
"${SPCD_VERT}" \
"${*}"
}
spcd_write() {