This is an automated email from the ASF dual-hosted git repository.

lburgazzoli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 78e099cee fix: ensure gobin exists before copying operator-sdk
78e099cee is described below

commit 78e099cee923a12d67a352b7bd6edfd0a5ee4a82
Author: Luca Burgazzoli <lburgazz...@gmail.com>
AuthorDate: Thu Aug 4 23:51:36 2022 +0200

    fix: ensure gobin exists before copying operator-sdk
---
 script/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/script/Makefile b/script/Makefile
index ac74e2dd4..6d159f2e6 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -520,6 +520,7 @@ ifeq (, $(shell command -v operator-sdk 2> /dev/null))
                -L 
https://github.com/operator-framework/operator-sdk/releases/download/$(OPERATOR_SDK_VERSION)/operator-sdk_$(OS_LOWER)_amd64
 \
                -o operator-sdk ; \
        chmod +x operator-sdk ;\
+       mkdir -p $(GOBIN) ;\
        mv operator-sdk $(GOBIN)/ ;\
        }
 OPERATOR_SDK=$(GOBIN)/operator-sdk

Reply via email to