mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-04 02:53:45 +00:00
node-builder: fix typo in string comparison
This also fixes a shellcheck error and lets us require the
shellcheck-required job:
In ./tools/osbuilder/node-builder/azure-linux/uvm_build.sh line 34:
if [ -z "${UVM_KERNEL_HEADER_DIR}}" ]; then
^-- SC2157 (error): Argument to -z is always false due to literal strings.
Signed-off-by: Aurélien Bombo <abombo@microsoft.com>
This commit is contained in:
committed by
Aurélien Bombo
parent
78a191d779
commit
4e5f4f3235
@@ -31,7 +31,7 @@ fi
|
||||
|
||||
if [ "${CONF_PODS}" == "yes" ]; then
|
||||
set_uvm_kernel_vars
|
||||
if [ -z "${UVM_KERNEL_HEADER_DIR}}" ]; then
|
||||
if [ -z "${UVM_KERNEL_HEADER_DIR}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user