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 ## Ask for kernel debug mode
function ask_debug() { function ask_debug() {
read -rp "$(infoh "Do you want to enable kernel debug mode [y/N/i(gnore)]? ")" BUILDTOOL_DEBUG read -rp "$(infoh "Do you want to enable kernel debug mode [y/N/i(gnore)]? ")" BUILDTOOL_KERNELDEBUG
case "${BUILDTOOL_DEBUG}" in case "${BUILDTOOL_KERNELDEBUG}" in
"y"|"Y") "y"|"Y")
export "BUILDTOOL_PKGBUILD_DEBUG=_debug=y" export "BUILDTOOL_PKGBUILD_DEBUG=_debug=y"
;; ;;