From e11dff0d3a2fd280c3188f9cb88766a47df4a684 Mon Sep 17 00:00:00 2001 From: bombermine <84911882+bombermine3@users.noreply.github.com> Date: Thu, 7 Nov 2024 14:14:41 +0300 Subject: [PATCH] fix: replace bash syntax with sh in configure-v3 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index daa2075f4f..dd246452e0 100644 --- a/Makefile +++ b/Makefile @@ -305,8 +305,8 @@ CONFIG_FILE ?= ${HOME}/.celestia-app/config/config.toml SEND_RECV_RATE ?= 10485760 # 10 MiB configure-v3: - @echo "Using config file at: $(CONFIG_FILE)"; \ - if [[ "$$(uname)" == "Darwin" ]]; then \ + @echo "Using config file at: $(CONFIG_FILE)" + @if [ "$$(uname)" = "Darwin" ]; then \ sed -i '' "s/^recv_rate = .*/recv_rate = $(SEND_RECV_RATE)/" $(CONFIG_FILE); \ sed -i '' "s/^send_rate = .*/send_rate = $(SEND_RECV_RATE)/" $(CONFIG_FILE); \ sed -i '' "s/ttl-num-blocks = 5/ttl-num-blocks = 12/" $(CONFIG_FILE); \ @@ -324,4 +324,4 @@ debug-version: @echo "GIT_TAG: $(GIT_TAG)" @echo "VERSION: $(VERSION)" .PHONY: debug-version - \ No newline at end of file +