fill_config.py: fix expansion of ${_name}

Change-Id: Icece4135fd3b6ff6e091e43f40c6ed423db7fd8f
This commit is contained in:
Neels Hofmeyr 2020-05-20 22:40:33 +02:00
parent 8bdd7ababa
commit e0570c2a34
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ for line in open(local_config_file):
local_config[name] = val
# replace variable names with above values recursively
replace_re = re.compile('\$\{([A-Z][A-Za-z0-9_]*)\}')
replace_re = re.compile('\$\{([A-Z_][A-Za-z0-9_]*)\}')
command_re = re.compile('\$\{([a-z][A-Za-z0-9_]*)\(([^)]*)\)\}')
idx = 0