From 4e5f4f3235b6a7c6ab3698e8e42e78db263e060d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bombo?= Date: Thu, 31 Jul 2025 12:56:03 -0500 Subject: [PATCH] node-builder: fix typo in string comparison MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tools/osbuilder/node-builder/azure-linux/uvm_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/osbuilder/node-builder/azure-linux/uvm_build.sh b/tools/osbuilder/node-builder/azure-linux/uvm_build.sh index 56f398b418..c24b71e2e7 100755 --- a/tools/osbuilder/node-builder/azure-linux/uvm_build.sh +++ b/tools/osbuilder/node-builder/azure-linux/uvm_build.sh @@ -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