diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 87b071f..d44ceba 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -452,7 +452,7 @@ _tkg_srcprep() { elif [ "$_basever" = "57" ]; then _outdated="outdated_versions/" _patch_name="enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v5.7" - elif (( 58 <= "$_basever" && "$_basever" <= 514 && "$_basever" != 6* )); then + elif (( 58 <= "$_basever" && "$_basever" <= 514 )) && [[ "$_basever" != 6* ]]; then _patch_name="more-uarches-for-kernel-5.8-5.14" elif [[ "$_basever" =~ ^(515|516)$ ]]; then _patch_name="more-uarches-for-kernel-5.15-5.16"