summaryrefslogtreecommitdiffstats
path: root/src/substvars.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/substvars.sh')
-rw-r--r--src/substvars.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/substvars.sh b/src/substvars.sh
index c2bc3f8..38661c1 100644
--- a/src/substvars.sh
+++ b/src/substvars.sh
@@ -94,7 +94,7 @@ substvars()
name="$(printf '%s\n' "${name}" | tr 'A-Z-' 'a-z_')"
value="$(eval "printf '%s\n' \"\${substvar_${name}}\"")"
string="${lhs}${value}${rhs}"
- depth=$(($depth + 1))
+ depth=$((${depth} + 1))
done
printf '%s\n' "${string}"