[lttng-dev] [PATCH babeltrace 1/2] Add missing shebangs to Python examples.

Christian Babeux christian.babeux at efficios.com
Wed Jan 23 12:05:48 EST 2013


> Please compare with other lttng projects (see tools tests), where I
> think we use "env" and then python. So I'm not sure which roule we want
> to go, but I think this has to do with Debian not having the same
> symlinks that other distros wrt python 2 and 3.

I would recommend using "#!/usr/bin/env python" so it will default to
the Python interpreter available on the machine. Take note that we
might have issues with Python 3 interpreters if the scripts are not
fully compliant.

Thanks,

Christian



More information about the lttng-dev mailing list