Gentoo Archives: gentoo-portage-dev

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

Attachments

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

Replies

Subject Author
Re: [gentoo-portage-dev] usage of /bin/bash in shebangs Fabian Groffen <grobian@g.o>