Re: [PATCH] Use env to find python
Mike Gilbert <[email protected]>
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <CAJ0EP43KMjC-eX+xP5sPcGwcO+cpK+yrevhnHANd+LZ7ja3HPg@mail.gmail.com> |
On Mon, Jun 15, 2020 at 9:39 AM Sid Spry <[email protected]> wrote: > > On Mon, Jun 15, 2020, at 2:36 AM, Ulrich Mueller wrote: > > But we know that it is in /usr/bin, so why add yet another indirection? > > > > Attachments: > > * signature.asc > > Ah, sorry -- I forgot to note this here. If you wish to support prefix it is possible it may not be in /usr/bin. Granted I am not sure if the prefix stage3 I was using is old enough to be broken in some way, but adding this would prevent future breakage. The portage ebuild and the python distutils module already take care of updating shebangs at install time.