protonscr

Use /usr/bin/env rather than /bin/bash or /usr/bin/python to support different paths

steamclosed reviewed
ValveSoftware/steam-for-linux#1896 · opened 2013-02-19 by aristidb · updated 2013-02-28 · 3 comments · github
Aaristidb 2013-02-19 github

Files like ~/.local/share/Steam/steam.sh or TF2's hl2.sh could use /usr/bin/env to be more portable to systems that have their bash or python in "non-standard" paths (specifically in /run/current-system/sw/bin, in my case).

I.e. the shebang would look like this:

#!/usr/bin/env bash

I would patch the shell scripts myself, but Steam reverts all changes to any of its scripts, so I'm afraid I need to go to Valve with this.

Would this be possible?

CC @cpages (who is also affected)

Jjohndrinkwater 2013-02-19 github

Hi, thanks for reporting! Most likely a duplicate #671, though we could change this to just be about TF2…

Aaristidb 2013-02-19 github

That issue seems to be just about python, but feel free to merge them and extend the scope.

Sslouken 2013-02-24 github

This is fixed for a future update. Thanks!

Nothing extracted yet.