Skip to content

Commit

Permalink
Corrected make target to install operator-sdk with the correct binary
Browse files Browse the repository at this point in the history
Signed-off-by: jubittajohn <jujohn@redhat.com>
  • Loading branch information
jubittajohn committed Jul 27, 2023
1 parent d57d09e commit 6a5266d
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 @@ -150,7 +150,7 @@ endif
.PHONY: install-operator-sdk
OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/v1.30.0
install-operator-sdk: ## Install operator-sdk
OS=$(shell go env GOOS) && ARCH=$(shell go env GOARCH) && \
OS=$(shell go env GOOS) ARCH=$(shell go env GOARCH) curl -LO $(OPERATOR_SDK_DL_URL)/operator-sdk_${OS}_${ARCH}
if [ ! -f ~/bin/operator-sdk ]; then \
curl -LO $(OPERATOR_SDK_DL_URL)/operator-sdk_$${OS}_$${ARCH} ; \
chmod +x operator-sdk_$${OS}_$${ARCH} ; \
Expand Down

0 comments on commit 6a5266d

Please sign in to comment.