diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-10 12:32:27 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-10 16:57:23 +0200 |
commit | d4d0e34bb40f3761ad1a2bced229690b536e7ba9 (patch) | |
tree | 9f90accfc3fc576b572413b9c6cabc90d822b5f8 /modules/gdscript/language_server/gdscript_language_protocol.cpp | |
parent | 2ba22d1554ded08094e3869a83bd87487266ad38 (diff) | |
download | redot-engine-d4d0e34bb40f3761ad1a2bced229690b536e7ba9.tar.gz |
SCons: Preserve `Environment` values when updating `Variables`
Finally reading the docs for `SCons.Variables.Update` let me find this optional
parameter, which solves the hacks and pain we've dealt with for years:
> args (optional) – a dictionary of keys and values to update in env.
> If omitted, uses the variables from the commandline.
By passing the environment itself, we preserve the values we've overridden in
`SConstruct` or `detect.py`.
Diffstat (limited to 'modules/gdscript/language_server/gdscript_language_protocol.cpp')
0 files changed, 0 insertions, 0 deletions