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: Sun, 24 Jul 2022 20:58:38
Message-Id: e57d4f7a-e9ce-b063-8b21-0b7b97d6d12e@gentoo.org
In Reply to: [gentoo-portage-dev] usage of /bin/bash in shebangs by Fabian Groffen
1 On 7/24/22 12:29, Fabian Groffen wrote:
2 > Hi,
3 >
4 > Quick question, I noticed that portage uses /bin/bash hardcoded in
5 > shebang of scripts, while it uses /usr/bin/env python for python
6 > executable files.
7 >
8 > Is there anything against using /usr/bin/env bash for shell scripts?
9 > Changing this would help for Prefix.
10
11
12 I can't think of any reason not to do this.
13
14 --
15 Thanks,
16 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>