The usage of "env" has been removed from the shebang line(s) again.

This causes trouble when there is no /usr/bin/python (e.g. on stripped
down system, with Python only in /usr/local or /opt).

What do you think about introducing a BYOBU_PYTHON variable, which could
default to /usr/bin/python and would be used to "exec" the Python based
byobu scripts, like "byobu-select-session"?

I know that it's possible to create a symlink /usr/bin/python, but that
would be gone after an update.

and btw: running byobu directly using Python will result in a syntax
error, because bin/byobu itself is a shell script. There are only a few
(2?!) scripts written in Python.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/988471

Title:
  /usr/bin/byobu-select-session has bogus #! line

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/byobu/+bug/988471/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to