[Rpm-maint] [rpm-software-management/rpm] RFE: Add macro for specification of install shell path (#646)

jccleaver notifications at github.com
Tue Mar 26 20:22:54 UTC 2019


Currently the %{_buildshell} macro is used for specifying the default execution shell during building with each section having its own overridable macro (https://github.com/rpm-software-management/rpm/blob/ba85c95963f9b62f237c0442f6b5aca3e355fa83/macros.in#L801 et al.).

However, there isn't a parallel set of macros from controlling the default execution shell at install time (for %pre/%post, etc.). In fact, it seems hard-coded to /bin/sh at various points.

Although Bourne shell is indicated in documentation as the default for scriptlets, the path to the shell should be configurable. This helps both RPM users in unusual environments (alien, chroot, etc) as well as those on systems where there are multiple available Bourne shells and they wish to specify one explicitly.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/646
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190326/5f43159f/attachment.html>


More information about the Rpm-maint mailing list