step/escape

This commit is contained in:
Marc Beninca 2024-08-25 15:56:33 +02:00
parent 76937bc1bf
commit 2500654681
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -874,7 +874,7 @@ spcd_step() {
if [ -n "${1}" ]; then
spcd_step__prefix="SPCD_STEP_${SPCD_STEP_LEVEL}"
spcd_step__index="${spcd_step__prefix}_INDEX"
eval "${spcd_step__index}=$((${spcd_step__index} + 1))"
eval "${spcd_step__index}=\$((${spcd_step__index} + 1))"
eval "${spcd_step__prefix}_LABEL=\"${1}\""
spcd_banner
fi