Skip to content

Commit

Permalink
fix: replace bash seq with brace expansion
Browse files Browse the repository at this point in the history
Signed-off-by: izekr <[email protected]>
  • Loading branch information
izekr authored and glimchb committed Nov 5, 2024
1 parent e95eb91 commit d7b81b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit d7b81b0

Please sign in to comment.