Re: [PATCH] Use env to find python
Fabian Groffen <[email protected]>
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Organization | Gentoo Foundation, Inc. |
| Message-ID | <[email protected]> |
On 16-06-2020 23:10:28 -0500, Sid Spry wrote: > On Tue, Jun 16, 2020, at 3:57 PM, Michał Górny wrote: > > '/usr/bin/env python' (with no extra options) is the portable shebang. > > > > I added `-S` to preserve the options passed via the shebang line. It seems they can be left off, does anyone know otherwise? -S is not supported on some platforms. In any case, I think this patch is wrong. In the Prefix case, the shebangs are set during install, in the non-Prefix case I think there is machinery in place to replace the shebangs during install. It seems the problem is already solved, why do you need these shebangs changed? Thanks, Fabian -- Fabian Groffen Gentoo on a different level
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEELUvHd/Gtp7LaU1vuzpXahU5EQpMFAl7pujIACgkQzpXahU5E QpNdxQgAmVrsWYDlf9EH/8W8Tv2R2qMgh2CC5+fogcE+LlZU565/ayxRWgcdMOCz 5drhpWLPnZCK0uIEiY2scxGn2s+SyF+CVOSKUIVPw32TjJWGeiP3jt5Y2YLI8tM5 kWoHLD61OhXLoc7O9Dlq1h1stwgnFepg2pbG3n2gi9rJ1cPENWaRmworxyjrT8Q+ 8F5w5jzey0TIUfv+qPaWEgU1a0YMHcp+ftblAgrFu7O5EBD4EsHp2Hb3JW9SsMMF hT3KC9SvHo7QwM0HbMXKQ2d4luyg7N3XJ+mBqrNop4wHcipac36UV9chaVshL7Ya McfW7nPaEPH6XHRnh+erGmHQkqq/Yg== =5NK5 -----END PGP SIGNATURE-----