From c4cc99db2f28db4017c4bd206b3faa48cd72d705 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 4 Jun 2025 07:56:58 -0400 Subject: [PATCH] MT#55283 fix shellcheck issues Change-Id: I58b488dc2fa384fe1a67f16f6a015307c161c010 --- utils/build_test_wrapper | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/build_test_wrapper b/utils/build_test_wrapper index 6bbaace72..492264f95 100755 --- a/utils/build_test_wrapper +++ b/utils/build_test_wrapper @@ -1,12 +1,13 @@ #!/bin/sh TARGET=$1 ROOT=$(echo "$TARGET" | sed 's/\.h$//') -if test "x$MAKE" = x; then +if test "$MAKE" = ""; then + # shellcheck disable=SC2209 MAKE=make fi echo "Looking for usable alternative for $TARGET" rm -f "$ROOT"-test "$ROOT"-test.c -ln -s ../lib/"$ROOT"-test.c +ln -s ../lib/"$ROOT"-test.c . for x in ../lib/"$ROOT"*.h; do echo "Trying build with $x" rm -f "$TARGET"