Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #184 from tnthornton/kubectl-install
Browse files Browse the repository at this point in the history
Add `--create-dirs` flag for curl commands outputting to subdir
  • Loading branch information
tnthornton authored May 11, 2022
2 parents ba699a8 + efa1e41 commit e018ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makelib/k8s_tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ $(KIND):
# kubectl download and install
$(KUBECTL):
@$(INFO) installing kubectl $(KUBECTL_VERSION)
@curl -fsSLo $(KUBECTL) https://storage.googleapis.com/kubernetes-release/release/$(KUBECTL_VERSION)/bin/$(HOSTOS)/$(SAFEHOSTARCH)/kubectl || $(FAIL)
@curl -fsSLo $(KUBECTL) --create-dirs https://storage.googleapis.com/kubernetes-release/release/$(KUBECTL_VERSION)/bin/$(HOSTOS)/$(SAFEHOSTARCH)/kubectl || $(FAIL)
@chmod +x $(KUBECTL)
@$(OK) installing kubectl $(KUBECTL_VERSION)

Expand All @@ -118,7 +118,7 @@ $(OLMBUNDLE):
# up download and install
$(UP):
@$(INFO) installing up $(UP_VERSION)
@curl -fsSLo $(UP) https://cli.upbound.io/stable/$(UP_VERSION)/bin/$(SAFEHOST_PLATFORM)/up?source=build || $(FAIL)
@curl -fsSLo $(UP) --create-dirs https://cli.upbound.io/stable/$(UP_VERSION)/bin/$(SAFEHOST_PLATFORM)/up?source=build || $(FAIL)
@chmod +x $(UP)
@$(OK) installing up $(UP_VERSION)

Expand Down

0 comments on commit e018ec6

Please sign in to comment.