fix * in config handling

This commit is contained in:
Tobias Powalowski 2023-09-02 21:42:13 +02:00
parent 527c4187b1
commit 9be78f999a

View file

@ -187,7 +187,7 @@ fi
if [[ -z "${_KERNEL}" ]]; then if [[ -z "${_KERNEL}" ]]; then
msg "Autodetecting kernel from: /etc/archboot/presets/${_RUNNING_ARCH}" msg "Autodetecting kernel from: /etc/archboot/presets/${_RUNNING_ARCH}"
. /etc/archboot/presets/${_RUNNING_ARCH} . /etc/archboot/presets/${_RUNNING_ARCH}
if [[ ! -f "${ALL_kver}" ]]; then if [[ ! -f "$(echo "${ALL_kver}")" ]]; then
die "specified kernel image does not exist!" die "specified kernel image does not exist!"
fi fi
_KERNELVERSION="$(_kver ${ALL_kver})" _KERNELVERSION="$(_kver ${ALL_kver})"