From d41f612da5d6624398f9ddd84369c67f150f246f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 23 Apr 2019 12:33:35 -0400 Subject: substvars_max_depth: Convert to upper case --- (limited to 'src') 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 # . -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 -- cgit v0.9.1