Steam for Linux

Steam for Linux

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.
Dernière modification de Freaker; 12 déc. 2012 à 10h50
< >
Affichage des commentaires 1 à 3 sur 3
Its good but steam uses bash, not python.
shished a écrit :
Its good but steam uses bash, not python.

Steam/ubuntu12_32/driverhelper.py
_hx 13 déc. 2012 à 6h44 
C55-Freaker a écrit :
The ideal shebang would look like this: "#!/usr/bin/env python2"

+1
< >
Affichage des commentaires 1 à 3 sur 3
Par page : 1530 50