Skip to content

Commit 71c24a7

Browse files
committed
fix: do not use make shell
1 parent 84fbc28 commit 71c24a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ build:
8383
.PHONY: buf-gen
8484
buf-gen: node_modules
8585
go tool -n protoc-gen-doc # Apparently on the first run the path is the temporary build output and will be deleted again. Later invocations use the correct go build cache path.
86-
PATH=$$PATH:$(shell dirname "$$(go tool -n protoc-gen-doc)") \
86+
PATH=$$PATH:$$(dirname "$$(go tool -n protoc-gen-doc)") \
8787
go tool buf generate proto
8888
make format
8989
@echo "All code was generated successfully!"
@@ -109,7 +109,7 @@ test-e2e:
109109
.PHONY: test-docs-samples
110110
test-docs-samples:
111111
go tool -n jd # Apparently on the first run the path is the temporary build output and will be deleted again. Later invocations use the correct go build cache path.
112-
PATH=$$PATH:$(shell dirname "$$(go tool -n jd)") \
112+
PATH=$$PATH:$$(dirname "$$(go tool -n jd)") \
113113
cd ./contrib/docs-code-samples && \
114114
npm i && \
115115
npm test

0 commit comments

Comments
 (0)