[Kimchi-devel] [PATCH] Change python #! line to be more portable
Aline Manera
alinefm at linux.vnet.ibm.com
Fri Feb 27 15:55:40 UTC 2015
On 12/02/2015 10:30, Alan Jenkins wrote:
> Hey guys,
>
> This is a patch to change the #! line used in Kimchi from the ambiguous
> /usr/bin/python to a more specific and more portable /usr/bin/env python2.
From my understanding, using python2 will limit Kimchi to run using
python2.
I suggest to use "/usr/bin/env python"
> This enables users of distributions that have switched to the default python version
> to python3 to run Kimchi without having to go and manually change the line and at the
> same time allows people who have python installed to non default locations to also use
> Kimchi by setting the python2 environment variable.
>
> Thanks,
>
> Alan Jenkins (demon012)
>
> Alan Jenkins (1):
> Change from using /usr/bin/python to /usr/bin/env python2 to improve
> portability.
>
> contrib/check_i18n.py | 2 +-
> src/kimchi/vnc.py | 2 +-
> src/kimchid.in | 2 +-
> ui/pages/help/gen-index.py | 2 +-
> 4 files changed, 4 insertions(+), 4 deletions(-)
>
More information about the Kimchi-devel
mailing list