#608 review shebang in python scripts
Closed: Fixed None Opened 13 years ago by jhrozek.

Some of our python executables specify their interpreter as {{{/usr/bin/env python}}}:

contrib/RHEL4/setup.py
install/tools/ipa-nis-manage
install/tools/ipa-compat-manage
install/tools/ipactl
install/tools/ipa-ldap-updater
ipa
ipapython/setup.py.in
lite-server.py
make-test

While this shebang specification is quite popular in general Python community as it allows to change the python interpreter easily to something in /usr/local/ for example, I think we should use the system interpreter directly at least on RHEL where we want to guarantee that the python interpreter used to run the script is really the system one we ship.

See also https://bugzilla.redhat.com/show_bug.cgi?id=521940


Metadata Update from @jhrozek:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.0 - 2011/01 (cleanup)

7 years ago

Login to comment on this ticket.

Metadata