Skip to content

Commit

Permalink
Create ./bin when installing operator-sdk (kubernetes-sigs#324)
Browse files Browse the repository at this point in the history
Upstream-Commit: 81a48e2
  • Loading branch information
qbarrand authored Jan 8, 2023
1 parent b0fd12a commit 9d25f8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ OPERATOR_SDK = $(shell pwd)/bin/operator-sdk
.PHONY: operator-sdk
operator-sdk:
@if [ ! -f ${OPERATOR_SDK} ]; then \
set -e ;\
echo "Downloading ${OPERATOR_SDK}"; \
mkdir -p $(dir ${OPERATOR_SDK}) ;\
curl -Lo ${OPERATOR_SDK} 'https://github.com/operator-framework/operator-sdk/releases/download/v1.25.2/operator-sdk_linux_amd64'; \
chmod +x ${OPERATOR_SDK}; \
fi
Expand Down

0 comments on commit 9d25f8b

Please sign in to comment.