On 3/26/2019 8:47 AM, Japheth Cleaver wrote:
On 3/26/2019 8:14 AM, Adam Williamson wrote:
> On Tue, 2019-03-26 at 09:08 -0500, mcatanzaro(a)gnome.org wrote:
>> On Thu, Mar 21, 2019 at 5:05 PM, Tomasz =?UTF-8?b?S8WCb2N6a28=?=
>> <kloczko.tomasz(a)gmail.com> wrote:
>>> [tkloczko@domek SPECS.fedora]$ rpm -E %_buildshell
>>> /bin/sh
>> How can this discussion still be ongoing? Why not just change it to
>> /bin/bash and move on?
> Japheth Cleaver explained why in response to me a couple of days ago:
> apparently changing it would also change the shell used for some
> scriptlets...
Well, each of the build-time scriptlets (%prep vs %check, for example)
have distinct shell macros that can be overriden -- they just default
to whatever buildshell is if not.
The problem is that the *install-time* default shell can't be
overriden at all.
Sorry, this was a bit too cavalier. I'm speaking as a Fedora end-user,
not in Fedora Infrastructure.
From an infrastructure/builder perspective, there's are some avenues
for effecting this shell change, which may or may not be desired. For
any consumers of built RPMs, there isn't. Distinct issues.
-jc