Protect a string concatenation in prempt_rt handling

This commit is contained in:
Tk-Glitch
2023-09-08 17:54:29 +02:00
parent e0c74e5e15
commit 8ecdc882c3

View File

@@ -659,7 +659,7 @@ _tkg_srcprep() {
# PREEMPT_RT patch
if [ "${_preempt_rt}" = "1" ]; then
if [ ${_rt_subver_map[$_basekernel]+_} = "_" ]; then
if [ "${_rt_subver_map[$_basekernel]+_}" = "_" ]; then
preempt_rt_ksubver="${_rt_subver_map[$_basekernel]}"
# Check if subversion is supported, skip check if forced
if [ "${_preempt_rt_force}" = "1" ] || [ "${preempt_rt_ksubver}" = "${_sub}" ]; then