Replace substitutions in substitutions first (#1567)

This commit is contained in:
Robert Resch 2021-02-27 22:47:12 +01:00 committed by GitHub
parent 4d6277330b
commit 6588e9380e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,4 +136,6 @@ def do_substitution_pass(config, command_line_substitutions):
del substitutions[old]
config[CONF_SUBSTITUTIONS] = substitutions
# Move substitutions to the first place to replace substitutions in them correctly
config.move_to_end(CONF_SUBSTITUTIONS, False)
_substitute_item(substitutions, config, [])