mirror of
https://github.com/lutris/lutris
synced 2024-10-06 07:50:16 +00:00
Strip equal signs from envvars (Closes #1699)
This commit is contained in:
parent
20620e54e3
commit
3582df7cd8
|
@ -96,7 +96,7 @@ class MonitoredCommand:
|
|||
# processes.
|
||||
for key, value in self.env.items():
|
||||
self.original_env[key] = os.environ.get(key)
|
||||
os.environ[key] = str(value)
|
||||
os.environ[key.strip("=")] = str(value)
|
||||
|
||||
# Reset library paths if they were not provided
|
||||
if not any([key in self.env for key in ("LD_LIBRARY_PATH", "LD_PRELOAD")]):
|
||||
|
|
Loading…
Reference in a new issue