Gentoo Archives: gentoo-portage-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] usage of /bin/bash in shebangs
Date: Mon, 25 Jul 2022 15:19:28
Message-Id: Yt60ek+kpajJBtz8@gentoo.org
In Reply to: Re: [gentoo-portage-dev] usage of /bin/bash in shebangs by Zac Medico
1 On 25-07-2022 08:09:02 -0700, Zac Medico wrote:
2 > On 7/24/22 23:17, Fabian Groffen wrote:
3 > > On 24-07-2022 13:58:31 -0700, Zac Medico wrote:
4 > >> On 7/24/22 12:29, Fabian Groffen wrote:
5 > >>> Hi,
6 > >>>
7 > >>> Quick question, I noticed that portage uses /bin/bash hardcoded in
8 > >>> shebang of scripts, while it uses /usr/bin/env python for python
9 > >>> executable files.
10 > >>>
11 > >>> Is there anything against using /usr/bin/env bash for shell scripts?
12 > >>> Changing this would help for Prefix.
13 > >>
14 > >>
15 > >> I can't think of any reason not to do this.
16 > >
17 > > Do you want to see a patch, or is it OK to push this myself?
18 >
19 > It's OK to just push this yourself. Thanks!
20
21 Pushed, thanks, b716e3591
22
23
24 --
25 Fabian Groffen
26 Gentoo on a different level

Attachments

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