From 389a8fb273bde926ffba6cfbea0610806247e606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Jochum?= Date: Sun, 11 Sep 2022 11:28:59 +0200 Subject: [PATCH] Try upgrade protoc_gen.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: René Jochum --- docker/builder/scripts/protoc_gen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/builder/scripts/protoc_gen.sh b/docker/builder/scripts/protoc_gen.sh index 813674d..01138ed 100755 --- a/docker/builder/scripts/protoc_gen.sh +++ b/docker/builder/scripts/protoc_gen.sh @@ -1,2 +1,2 @@ #!/bin/sh -find . -name '*.proto' -print0 | xargs -0 -I {} /bin/sh -c 'cd $(dirname $1); PATH=$PATH:/go/bin protoc --micro_out=paths=source_relative:. --go_out=paths=source_relative:. $(basename $1)' '_' '{}' \ No newline at end of file +find . -name '*.proto' -print0 | xargs -0 -I {} /bin/sh -c 'cd $(dirname $1); protoc --proto_path=$GOPATH/bin:. -I/code --micro_out=paths=source_relative:. --go_out=paths=source_relative:. $(basename $1)' '_' '{}' \ No newline at end of file