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"