From 3abc81bdb6b12ba1c9f5965457aaa54f50fea6dd Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 10 Mar 2024 22:30:14 +0100 Subject: [PATCH] Fix debug mode --- buildtool.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildtool.sh b/buildtool.sh index 5f99200..c0a4d2d 100755 --- a/buildtool.sh +++ b/buildtool.sh @@ -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" ;;