Skip to content

Commit

Permalink
chore: fix make update-ot in MacOS (#1234)
Browse files Browse the repository at this point in the history
The long versions of `cut` flags are not supported in MacOS.
  • Loading branch information
andrzej-stencel authored Sep 4, 2023
1 parent 76f87e5 commit 77bc38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ check-uniform-dependencies:
./ci/check_uniform_dependencies.sh

OT_CORE_VERSION := $(shell grep "otelcol_version: .*" otelcolbuilder/.otelcol-builder.yaml | cut -f 4 -d " ")
OT_CONTRIB_VERSION := $(shell grep --max-count=1 '^ - gomod: github\.com/open-telemetry/opentelemetry-collector-contrib/' otelcolbuilder/.otelcol-builder.yaml | cut --delimiter=" " --fields=6 | $(SED) "s/v//")
OT_CONTRIB_VERSION := $(shell grep --max-count=1 '^ - gomod: github\.com/open-telemetry/opentelemetry-collector-contrib/' otelcolbuilder/.otelcol-builder.yaml | cut -d " " -f 6 | $(SED) "s/v//")
# usage: make update-ot OT_CORE_NEW=x.x.x OT_CONTRIB_NEW=y.y.y
.PHONY: update-ot
update-ot: install-gsed
Expand Down

0 comments on commit 77bc38b

Please sign in to comment.