From 8ecdc882c39fe7716aacc7377658794adeb353c8 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Fri, 8 Sep 2023 17:54:29 +0200 Subject: [PATCH] Protect a string concatenation in prempt_rt handling --- linux-tkg-config/prepare | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 893c37a..4721f16 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -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