Fix debug mode

This commit is contained in:
JeremyStar™ 2024-03-10 22:30:14 +01:00
parent 346e0fae5a
commit 3abc81bdb6

View file

@ -273,8 +273,8 @@ function ask_subarchitecture() {
}
## Ask for kernel debug mode
function ask_debug() {
read -rp "$(infoh "Do you want to enable kernel debug mode [y/N/i(gnore)]? ")" BUILDTOOL_DEBUG
case "${BUILDTOOL_DEBUG}" in
read -rp "$(infoh "Do you want to enable kernel debug mode [y/N/i(gnore)]? ")" BUILDTOOL_KERNELDEBUG
case "${BUILDTOOL_KERNELDEBUG}" in
"y"|"Y")
export "BUILDTOOL_PKGBUILD_DEBUG=_debug=y"
;;