remove shopts

This commit is contained in:
Tobias Powalowski 2023-10-27 07:24:20 +02:00
parent 725cee988c
commit f583ecb5b5
2 changed files with 1 additions and 2 deletions

View file

@ -5,7 +5,6 @@
# optimized for size and speed # optimized for size and speed
# by Tobias Powalowski <tpowa@archlinux.org> # by Tobias Powalowski <tpowa@archlinux.org>
shopt -s extglob
. /usr/lib/archboot/common.sh . /usr/lib/archboot/common.sh
. /usr/lib/archboot/cpio/cpio.sh . /usr/lib/archboot/cpio/cpio.sh
if [[ -z "${1}" ]]; then if [[ -z "${1}" ]]; then

View file

@ -212,7 +212,7 @@ _install_mods() {
depmod -b "${_ROOTFS}" "${_KERNELVERSION}" depmod -b "${_ROOTFS}" "${_KERNELVERSION}"
# remove all non-binary module.* files (except devname for on-demand module loading # remove all non-binary module.* files (except devname for on-demand module loading
# and builtin.modinfo for checking on builtin modules) # and builtin.modinfo for checking on builtin modules)
rm "${_ROOTFS}${_MODULE_DIR}"/modules.!(*.bin|*.modinfo|devname|softdep) rm "${_ROOTFS}${_MODULE_DIR}"/modules.{alias,builtin,dep,order,symbols}
} }
_install_libs() { _install_libs() {