From de83c9070bb71334af7fe5c00face3867e0c252b Mon Sep 17 00:00:00 2001 From: izekr Date: Mon, 4 Nov 2024 23:08:09 +0200 Subject: [PATCH] fix: replace bash seq with brace expansion Signed-off-by: izekr --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 70cab32..87140f9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,7 +22,7 @@ services: grep "" /sys/kernel/mm/hugepages/hugepages-*/nr_hugepages && \ /usr/local/bin/spdk_tgt -m 0x1 -s 512 --no-pci 2>&1 & \ echo wait 5s... && sleep 5s && cd /usr/libexec/spdk/scripts && \ - for i in $(seq 1 10); do ./rpc.py spdk_get_version && break || sleep 1; done && \ + for i in {1..10}; do ./rpc.py spdk_get_version && break || sleep 1; done && \ ./rpc.py bdev_malloc_create -b Malloc0 64 512 && \ ./rpc.py bdev_malloc_create -b Malloc1 64 512 && \ ./rpc.py nvmf_create_transport -t TCP -u 8192 -m 4 -c 0 && \