Wrong python_CMD in shebangfix?

Dmitry Sivachenko trtrmitya at gmail.com
Sat May 17 09:33:53 UTC 2014


Well, so what is the consensus on this?

May I commit the proposed patch?


On 15 мая 2014 г., at 10:46, Dmitry Sivachenko <trtrmitya at gmail.com> wrote:

> 
> On 15 мая 2014 г., at 9:31, Marcus von Appen <mva at FreeBSD.org> wrote:
> 
>> On, Wed May 14, 2014, Dmitry Sivachenko wrote:
>> 
>>> Hello!
>>> 
>>> Imagine that I have python-2 as default version, so that /usr/local/bin/python points to python2.7
>>> And I have a port which USE_PYTHON=3 and USES=shebangfix.
>>> 
>>> It will "fix" python path as "/usr/local/bin/python" which is wrong (it should point to python3).
>>> 
>> 
>> The path is not *wrong*. lang/python installs /usr/local/bin/python.
>> 
> 
> I know, but in my example it would point to python2.7, rather than expected python3.3 which is wrong.
> 
> 



More information about the freebsd-python mailing list