Re: More than 10% of all Fedora spec files are not POSIX sh compliant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx wrote:
On Thu, Mar 21, 2019 at 5:05 PM, Tomasz =?UTF-8?b?S8WCb2N6a28=?=
<kloczko.tomasz@xxxxxxxxx> 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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux