/usr/bin/lsinitcpio: line 215: shopt: -d: invalid option
Description:
in mkinitcpio 39.1-1 running lsinitcpio -a $FILE
has an error
/usr/bin/lsinitcpio: line 215: shopt: -d: invalid option
Additional info:
- package version(s): 39.1-1
- config and/or log files: n/a
- link to upstream bug report, if any: n/a
This appears to have been introduced by 0170d429
I can only assume it was meant to be shopt -u globstar nullglob
on line 215 instead of shopt -d globstar nullglob
Steps to reproduce:
# pacman -Q mkinitcpio
mkinitcpio 39.1-1
# pacman -Q bash
bash 5.2.026-2
# lsinitcpio -a /boot/initramfs-linux.img
/usr/bin/lsinitcpio: line 215: shopt: -d: invalid option
shopt: usage: shopt [-pqsu] [-o] [optname ...]