mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
validate:launcher: Strip os.pathsep from extra env variables
We might be working with something that is not a path
This commit is contained in:
parent
0535071158
commit
9708c7eb19
1 changed files with 2 additions and 1 deletions
|
@ -374,7 +374,8 @@ class Test(Loggable):
|
|||
self.proc_env = self.get_subproc_env()
|
||||
|
||||
for var, value in self.extra_env_variables.items():
|
||||
self.proc_env[var] = self.proc_env.get(var, '') + os.pathsep + value
|
||||
value = self.proc_env.get(var, '') + os.pathsep + value
|
||||
self.proc_env[var] = value.strip(os.pathsep)
|
||||
self.add_env_variable(var, self.proc_env[var])
|
||||
|
||||
if self.options.gdb:
|
||||
|
|
Loading…
Reference in a new issue