From 5b3359bfea965e75dcda001ccda930aaea5c886b Mon Sep 17 00:00:00 2001 From: vankichi Date: Wed, 13 Nov 2024 15:31:20 +0900 Subject: [PATCH] :recycle: Fix Signed-off-by: vankichi --- Makefile.d/helm.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.d/helm.mk b/Makefile.d/helm.mk index 38c9309036..83b4c5a7c1 100644 --- a/Makefile.d/helm.mk +++ b/Makefile.d/helm.mk @@ -24,8 +24,8 @@ $(BINDIR)/helm: TAR_NAME=helm-$(HELM_VERSION)-$(OS)-$(subst x86_64,amd64,$(shell echo $(DARCH) | tr '[:upper:]' '[:lower:]')) \ && cd $(TEMP_DIR) \ && curl -fsSL "https://get.helm.sh/$${TAR_NAME}.tar.gz" -o "$(TEMP_DIR)/$${TAR_NAME}" \ - && tar xzvf "$(TEMP_DIR)/$${TAR_NAME}" \ - && mv $(OS)-$(subst x86_64,amd64,$(shell echo $(DARCH) | tr '[:upper:]' '[:lower:]'))/helm $(BINDIR)/helm + && tar xzvf --strip=1 "$(TEMP_DIR)/$${TAR_NAME}" \ + && mv helm $(BINDIR)/helm .PHONY: helm-docs/install ## install helm-docs