Date: Wed, 19 Feb 2014 16:48:50 +0100 From: Serpent7776 <serpent7776@gmail.com> To: freebsd-ports@freebsd.org Cc: lev@FreeBSD.org Subject: Re: What should be in scripts shebangs for python2? Message-ID: <20140219164850.1e17fe17@DaemON.home> In-Reply-To: <254945186.20140219190201@serebryakov.spb.ru> References: <254945186.20140219190201@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Feb 2014 19:02:01 +0400 Lev Serebryakov <lev@FreeBSD.org> wrote: > Hello, Freebsd-ports. > > My port uses some pythons scripts to configure (it is not pythonn-related > by itself, only authors of this software use python scripts on build > stage). > > How should I patch these scripts to work? It looks like > /usr/local/bin/python2 is installed by devel/python2 port, and > USE_PYTHON_BUILD=yes doesn't depends on this port, but on python27, which > could be changed in future or by users's request, so I don't want to > hardcode /usr/local/bin/python2.7, too... > I think it would be #!/usr/bin/env python2 -- // // Serpent7776 //
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140219164850.1e17fe17>