On 01/27/2014 11:15 AM, José Matos wrote:
On Saturday 25 January 2014 22:27:31 Raphael Kubo da Costa wrote:
Do like the other Python scripts and use the more portable
#!/usr/bin/env python
instead of
#!/usr/bin/python
as Python isn't always installed there, especially on non-Linux systems.
---
lib/scripts/listerrors | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Just for curiosity, is this a style patch or do you really use the shebang
line? :-)
I ask this because most, if not all, of the shebang lines in python scripts for
lyx are useless. Not only that but by using /usr/bin/env we get two potentially
different python versions used to run the python scripts. One being the version
pointed by env and another the version selected/configured for lyx.
With this said I am in favor of removing all those lines from the python files
in lyx. :-)
I had assumed the original reporter was running into a problem with this
particular script and had brought it to our attention for thar reason.
But perhaps not?
Richard