File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
pkg/plugins/v1/scaffolds/internal/templates Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,6 @@ PATH := $(PATH):$(PWD)/bin
103103SHELL := env PATH=$(PATH) /bin/sh
104104OS = $(shell uname -s | tr '[:upper:]' '[:lower:]')
105105ARCH = $(shell uname -m | sed 's/x86_64/amd64/')
106- OSOPER = $(shell uname -s | tr '[:upper:]' '[:lower:]' | sed 's/darwin/apple-darwin/' | sed 's/linux/linux-gnu/')
107- ARCHOPER = $(shell uname -m )
108106
109107kustomize:
110108ifeq (, $(shell which kustomize 2>/dev/null))
@@ -123,8 +121,8 @@ ifeq (, $(shell which helm-operator 2>/dev/null))
123121 @{ \
124122 set -e ;\
125123 mkdir -p bin ;\
126- curl -LO https://github.com/joelanford/helm-operator/releases/download/{{ .HelmOperatorVersion }}/helm-operator-{{ .HelmOperatorVersion }}-$(ARCHOPER)-$(OSOPER ) ;\
127- mv helm-operator-{{ .HelmOperatorVersion }}-$(ARCHOPER)-$(OSOPER ) ./bin/helm-operator ;\
124+ curl -LO https://github.com/joelanford/helm-operator/releases/download/{{ .HelmOperatorVersion }}/helm-operator_$(OS)_$(ARCH ) ;\
125+ mv helm-operator_$(OS)_$(ARCH ) ./bin/helm-operator ;\
128126 chmod +x ./bin/helm-operator ;\
129127 }
130128HELM_OPERATOR=$(realpath ./bin/helm-operator)
You can’t perform that action at this time.
0 commit comments