On Tue, Mar 26, 2019 at 3:44 AM Nicolas Mailhot
<nicolas.mailhot(a)laposte.net> wrote:
Le 2019-03-25 22:47, Japheth Cleaver a écrit :
> If you can take a one-time hit to
> remove bashisms and get a 25-40% improvement,
CPU time is cheap, packager time is not. Exchanging CPU time for "you
all should learn to write POSIX-only shell scripts" would be an awful
deal. The Java part of Fedora is slowly imploding right now because a
lot of people pushed their complexity on packagers, and the packagers
could not cope. The Fedora target should be to help packagers achieve
more with less work, not achieve less with more work.
POSIX is dead as a shell compatibility target. You want to replace bash
with something faster, by all means do it. With something that includes
the GNU extensions like pushd/popd that most packagers expect today.
Is there any reason to *ever* use pushd or popd in %build or %install today?