Gentoo Archives: gentoo-portage-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] Use env to find python
Date: Wed, 17 Jun 2020 06:37:50
Message-Id: 20200617063738.GE87050@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] Use env to find python by Sid Spry
1 On 16-06-2020 23:10:28 -0500, Sid Spry wrote:
2 > On Tue, Jun 16, 2020, at 3:57 PM, Michał Górny wrote:
3 > > '/usr/bin/env python' (with no extra options) is the portable shebang.
4 > >
5 >
6 > I added `-S` to preserve the options passed via the shebang line. It seems they can be left off, does anyone know otherwise?
7
8 -S is not supported on some platforms.
9
10 In any case, I think this patch is wrong. In the Prefix case, the
11 shebangs are set during install, in the non-Prefix case I think there is
12 machinery in place to replace the shebangs during install.
13
14 It seems the problem is already solved, why do you need these shebangs
15 changed?
16
17 Thanks,
18 Fabian
19
20 --
21 Fabian Groffen
22 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature