diff --git a/spcd/main.sh b/spcd/main.sh index 342f804..cb95842 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -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