[Freeipa-devel] Hashbang line in IPA scripts

Simo Sorce simo at redhat.com
Fri Dec 2 16:00:34 UTC 2011


On Fri, 2011-12-02 at 15:50 +0100, Jan Cholasta wrote:
> Hi,
> 
> We currently use this hashbang line in IPA scripts:
> 
>      #! /usr/bin/python -E
> 
> IMHO this should be changed to point to Python 2 binary specifically:
> 
>      #! /usr/bin/python2 -E
> 
> for the sake of distros, which symlink /usr/bin/python to Python 3 
> binary by default (Fedora 17?).
> 
> Honza

Send a patch, but is python2 guaranteed to be always available (thinking
RHEL for example) ?

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list