summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/substvars.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/substvars.sh b/src/substvars.sh
index 38661c1..60d1402 100644
--- a/src/substvars.sh
+++ b/src/substvars.sh
@@ -18,7 +18,7 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
-substvars_max_depth=50
+SUBSTVARS_MAX_DEPTH=50
set_substvar()
{
@@ -83,7 +83,7 @@ substvars()
# side of the matched space.
depth=0
fi
- if [ ${depth} -ge ${substvars_max_depth} ]; then
+ if [ ${depth} -ge ${SUBSTVARS_MAX_DEPTH} ]; then
# Warn of possible recursion.
warn "$(get_msg 'substvar_deep_nesting')"
return 1