You are not logged in.

#26 2020-02-04 15:52:31

seth
Member
Registered: 2012-09-03
Posts: 58,797

Re: [solved] mkinitcpio fails generating initramfs

And lo and behold: "shopt -s extglob" is on the bashrc of the system where this works and that I was ssh'd into when I originally tested this  smile
(No idea why, the particular file grew over the past 15 years…)

Offline

#27 2020-02-04 17:18:07

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [solved] mkinitcpio fails generating initramfs

I'm not even entirely sure why it is disabled by default, since it doesn't really break compatibility if you do, it just adds new features which as you observed are otherwise syntax errors.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#28 2020-02-04 17:23:43

seth
Member
Registered: 2012-09-03
Posts: 58,797

Re: [solved] mkinitcpio fails generating initramfs

I googled and the interwebz says: backward compatibility only (ie. prevent you from bash incompatible bashisms)
bash apparently also has a config option to enable it by default, so there seem to be no concerns at all.

Offline

Board footer

Powered by FluxBB