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:
Aurélien Bombo
2025-07-31 12:56:03 -05:00
committed by Aurélien Bombo
parent 78a191d779
commit 4e5f4f3235

View File

@@ -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