From 59693049dfbad0a30c626827ce079fd5d6b0d576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Pernas=20Maradei?= <1394289+nicopernas@users.noreply.github.com> Date: Tue, 2 Aug 2022 16:13:11 +0200 Subject: [PATCH] fix: proto-update-deps target on macOS (#1838) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dce31b840b0..07208812edd 100644 --- a/Makefile +++ b/Makefile @@ -462,7 +462,7 @@ proto-update-deps: ## insert go package option into proofs.proto file ## Issue link: https://github.com/confio/ics23/issues/32 - @sed -i '4ioption go_package = "github.com/confio/ics23/go";' $(CONFIO_TYPES)/proofs.proto + @perl -lp -i -e 'print q(option go_package = "github.com/confio/ics23/go";) if $$. == 4' $(CONFIO_TYPES)/proofs.proto .PHONY: proto-all proto-gen proto-gen-any proto-swagger-gen proto-format proto-lint proto-check-breaking proto-update-deps