Steam for Linux

Steam for Linux

Freaker 12 dez. 2012 às 10:49
Recommendation: use proper shebang
Most scripts (especially python scripts) use #!/usr/bin/python as shebang. To ensure compatibility among different distributions it is better to use "#!/usr/bin/env python". Additionally the major python version should be specified. On my system (gentoo) the default python interpreter is 3.2.3 which causes trouble with the python2 scripts. The ideal shebang would look like this: "#!/usr/bin/env python2"

This way you can ensure compatibility among all linux distributions.
Última alteração por Freaker; 12 dez. 2012 às 10:50
< >
A mostrar 1-3 de 3 comentários
SUSEd 13 dez. 2012 às 1:30 
Its good but steam uses bash, not python.
[Linux] timopm 13 dez. 2012 às 2:59 
Originalmente postado por shished:
Its good but steam uses bash, not python.

Steam/ubuntu12_32/driverhelper.py
_hx 13 dez. 2012 às 6:44 
Originalmente postado por C55-Freaker:
The ideal shebang would look like this: "#!/usr/bin/env python2"

+1
< >
A mostrar 1-3 de 3 comentários
Por página: 1530 50