Merge pull request #3636 from Kvasscn/kata_dev_fix_check_build_type

scripts: fix a typo while to check build_type
This commit is contained in:
James O. D. Hunt 2022-02-14 12:33:59 +00:00 committed by GitHub
commit 3d3af84cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -376,7 +376,7 @@ setup_kernel() {
${packaging_scripts_dir}/apply_patches.sh "${patches_dir_for_version}"
# Apply version specific patches for build_type build
if [ "${build_type}" == "true" ] ;then
if [ "${build_type}" != "" ] ;then
info "Apply build_type patches from ${build_type_patches_dir}"
${packaging_scripts_dir}/apply_patches.sh "${build_type_patches_dir}"
fi