Only update env if provided

This commit is contained in:
Mathieu Comandon 2020-03-06 08:35:01 -08:00
parent 11c3331b31
commit 58c5e0bd85

View file

@ -306,7 +306,8 @@ def wineexec(
if overrides:
wineenv["WINEDLLOVERRIDES"] = get_overrides_env(overrides)
wineenv.update(env)
if env:
wineenv.update(env)
command_parameters = [wine_path]
if executable: