Skip to content

Commit

Permalink
umu_run: don't join paths using a list
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jul 9, 2024
1 parent b4aa06d commit a7717a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,15 +359,15 @@ def enable_steam_game_drive(env: dict[str, str]) -> dict[str, str]:
if not libc:
log.warning("libc.so could not be found")
log.info("LD_LIBRARY_PATH=%s", os.environ.get("LD_LIBRARY_PATH") or "")
env["STEAM_RUNTIME_LIBRARY_PATH"] = ":".join(list(paths))
env["STEAM_RUNTIME_LIBRARY_PATH"] = ":".join(paths)
return env

# Set the shared library paths of the system after finding libc.so
for rtpath in steamrt_paths:
if not Path(rtpath).is_symlink() and Path(rtpath, libc).is_file():
paths.add(rtpath)

env["STEAM_RUNTIME_LIBRARY_PATH"] = ":".join(list(paths))
env["STEAM_RUNTIME_LIBRARY_PATH"] = ":".join(paths)

return env

Expand Down

0 comments on commit a7717a0

Please sign in to comment.