diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-23 12:33:35 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-23 12:33:35 (EDT) |
commit | d41f612da5d6624398f9ddd84369c67f150f246f (patch) | |
tree | 0d32940d30bbc3d674449881c3cb5c234bfcaba8 | |
parent | b500b64f772f2b3ac538ef65cc394a99745133bc (diff) |
substvars_max_depth: Convert to upper case
-rw-r--r-- | src/substvars.sh | 4 |
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 |