mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-11-28 08:38:51 +02:00
Fix the examples target info messaging (#1676)
The echo for the target was copied from other targets that use `dir` as an iteration variable which is not what this target uses. That means that the empty variable `dir` is unexpanded and the unhelpful message of "build /..." is echoed. This updates the iteration variable to match other targets and fixes the info messaging.
This commit is contained in:
parent
a3aa9fdab0
commit
76aa924e75
4
Makefile
4
Makefile
@ -62,9 +62,9 @@ tools: $(CROSSLINK) $(GOLANGCI_LINT) $(MISSPELL) $(STRINGER) $(TOOLS)/gojq
|
||||
|
||||
.PHONY: examples generate build
|
||||
examples:
|
||||
@set -e; for ex in $(EXAMPLES); do \
|
||||
@set -e; for dir in $(EXAMPLES); do \
|
||||
echo "$(GO) build $${dir}/..."; \
|
||||
(cd "$${ex}" && \
|
||||
(cd "$${dir}" && \
|
||||
$(GO) build .); \
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user