From 042078c761f271928005ee02267b6d73076851d4 Mon Sep 17 00:00:00 2001 From: bombermine <84911882+bombermine3@users.noreply.github.com> Date: Thu, 7 Nov 2024 14:54:01 +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 +