Skip to content

Commit 7b7eb8e

Browse files
Makefile incorrectly assumes existence of ~/bin (#135)
### Description install-ocb target assumed pre-existence of ~/bin Added non-destructive mkdir before curl operation ### Checklist - [NA] Created tests which fail without the change (if possible) - [NA] Extended the README / documentation, if necessary
1 parent 2fd9d80 commit 7b7eb8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ release:
2828

2929
## install-ocb: Installs correct version of ocb binary
3030
install-ocb:
31-
curl --proto '=https' --tlsv1.2 -L -o "$(HOME)/bin/ocb" https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/cmd%2Fbuilder%2Fv0.114.0/ocb_0.114.0_darwin_arm64
31+
@mkdir -p "$(HOME)/bin"
32+
curl --proto '=https' --tlsv1.2 -L -o "$(HOME)/bin/ocb" https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/cmd%2Fbuilder%2Fv0.110.0/ocb_0.110.0_darwin_arm64
3233
@chmod +x "$(HOME)/bin/ocb"
3334

3435
## build-ocb: Builds project using ocb

0 commit comments

Comments
 (0)