mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
scripts: fix a typo while to check build_type
check $build_type is not an empty string instead of equal to "true". Fixes: #3635 Signed-off-by: zhanghj <zhanghj.lc@inspur.com>
This commit is contained in:
parent
901a9d7cad
commit
54e1faec4c
@ -352,7 +352,7 @@ setup_kernel() {
|
|||||||
${packaging_scripts_dir}/apply_patches.sh "${patches_dir_for_version}"
|
${packaging_scripts_dir}/apply_patches.sh "${patches_dir_for_version}"
|
||||||
|
|
||||||
# Apply version specific patches for build_type build
|
# 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}"
|
info "Apply build_type patches from ${build_type_patches_dir}"
|
||||||
${packaging_scripts_dir}/apply_patches.sh "${build_type_patches_dir}"
|
${packaging_scripts_dir}/apply_patches.sh "${build_type_patches_dir}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user