From 4b3a462963ca670206b8381eedf4ccc9292727d1 Mon Sep 17 00:00:00 2001 From: dmathieu <42@dmathieu.com> Date: Tue, 23 Jul 2024 11:11:16 +0200 Subject: [PATCH] remove trailing slash in mod init --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cff6246..9b3599b 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,7 @@ gen-modules/%: @echo "Initializing module in $(DIR)" \ && cd $(DIR) \ && rm -f go.mod go.sum \ - && $(GO) mod init go.opentelemetry.io/proto/$(DIR) + && $(GO) mod init go.opentelemetry.io/proto/$(patsubst %\,%,$(DIR)) .PHONY: copy-otlp-protobuf-slim copy-otlp-protobuf-slim: