step
This commit is contained in:
parent
31ca2c6117
commit
6475063e3e
1 changed files with 4 additions and 4 deletions
|
@ -299,10 +299,10 @@ spcd_split() {
|
||||||
spcd_step() {
|
spcd_step() {
|
||||||
if [ -n "${1}" ]; then
|
if [ -n "${1}" ]; then
|
||||||
[ -n "${__SPCD_STEP_LEVEL}" ] || __SPCD_STEP_LEVEL=1
|
[ -n "${__SPCD_STEP_LEVEL}" ] || __SPCD_STEP_LEVEL=1
|
||||||
spcd_step__prefix="__SPCD_STEP_${__SPCD_STEP_LEVEL}"
|
local prefix="__SPCD_STEP_${__SPCD_STEP_LEVEL}"
|
||||||
spcd_step__index="${spcd_step__prefix}_INDEX"
|
local index="${prefix}_INDEX"
|
||||||
eval "${spcd_step__index}=\$((${spcd_step__index} + 1))"
|
eval "${index}=\$((${index} + 1))"
|
||||||
eval "${spcd_step__prefix}_LABEL=\"${1}\""
|
eval "${prefix}_LABEL=\"${1}\""
|
||||||
_spcd_banner_render
|
_spcd_banner_render
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue