Spdk/mk
Konrad Sztyber a3ec812b09 mk: replace [[ command with /dev/null redirection
make uses /bin/sh as its shell and some distributions set it to shells
that don't support [[ command (e.g. ubuntu and dash).  This causes the
check to fail with the following error:

/bin/sh: 1: [[: not found

So, replaced the [[ command with a redirection to /dev/null, which
should work on all shells.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: Idcae094e8faa3da6faac16754bb0484bd91363d8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15852
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Mike Gerdts <mgerdts@nvidia.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Community-CI: Mellanox Build Bot
2022-12-13 09:17:04 +00:00
..
nvme.libtest.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_blank.map mk: add a placeholder map file. 2020-05-14 10:37:14 +00:00
spdk.app_cxx.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk.app_vars.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk.app.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk.common.mk mk: replace [[ command with /dev/null redirection 2022-12-13 09:17:04 +00:00
spdk.deps.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk.fio.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk.lib_deps.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk.lib.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk.mock.unittest.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk.modules.mk configure: rename --with-reduce --with-vbdev-compress 2022-12-08 12:55:27 +00:00
spdk.nvmecli.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk.subdirs.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk.unittest.mk update Intel copyright notices 2022-11-10 08:28:53 +00:00