Skip to content

Commit 648f382

Browse files
add prepare dir command when installing kubebuilder
1 parent 3aec21e commit 648f382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make/deps.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $(KUSTOMIZE): $(LOCALBIN)
2626

2727
.PHONY: kubebuilder
2828
kubebuilder:
29-
test -s $(LOCALBIN)/kubebuilder || \
29+
test -s $(LOCALBIN)/kubebuilder || mkdir -p $(LOCALBIN) && \
3030
curl -L -o $(LOCALBIN)/kubebuilder "https://go.kubebuilder.io/dl/latest/$(go env GOOS)/$(go env GOARCH)" && chmod +x $(LOCALBIN)/kubebuilder
3131

3232
.PHONY: controller-gen

0 commit comments

Comments
 (0)