fill_config.py: fix expansion of ${_name}

Change-Id: Icece4135fd3b6ff6e091e43f40c6ed423db7fd8f
changes/21/18621/1
Neels Hofmeyr 3 years ago
parent 8bdd7ababa
commit e0570c2a34
  1. 2
      net/fill_config.py

@ -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

Loading…
Cancel
Save