diff --git a/Makefile b/Makefile index bafb18ad0df1..e4de6dd8f606 100644 --- a/Makefile +++ b/Makefile @@ -219,7 +219,7 @@ install-tools: .PHONY: run run: - GO111MODULE=on $(GOCMD) run --race ./cmd/otelcontribcol/... --config ${RUN_CONFIG} ${RUN_ARGS} + cd ./cmd/otelcontribcol && GO111MODULE=on $(GOCMD) run --race . --config ../../${RUN_CONFIG} ${RUN_ARGS} .PHONY: docker-component # Not intended to be used directly docker-component: check-component