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" ;;