From 2500654681683f9ef8b0b78dd9f14a38981dd87a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 15:56:33 +0200 Subject: [PATCH] step/escape --- spcd/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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