mirror of https://gerrit.osmocom.org/osmo-dev
fill_config.py: fix expansion of ${_name}
Change-Id: Icece4135fd3b6ff6e091e43f40c6ed423db7fd8fchanges/21/18621/1
parent
8bdd7ababa
commit
e0570c2a34
|
@ -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…
Reference in New Issue