From 1307b81db7bbd0025b1d62eb5228e5f9fcac5cd6 Mon Sep 17 00:00:00 2001 From: Vicente Herrera Date: Thu, 15 Oct 2020 09:18:06 +0200 Subject: [PATCH] Fixed use of fish shell evaluation with (...) instead of bash style $(...) --- site/content/docs/user-guide/setup/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/user-guide/setup/install.md b/site/content/docs/user-guide/setup/install.md index 4395b94d..52878324 100644 --- a/site/content/docs/user-guide/setup/install.md +++ b/site/content/docs/user-guide/setup/install.md @@ -50,7 +50,7 @@ Krew self-hosts). set -x; set temp_dir (mktemp -d); cd "$temp_dir" && curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/krew.tar.gz" && tar zxvf krew.tar.gz && - set KREWNAME krew-(uname | tr '[:upper:]' '[:lower:]')_$(uname -m | sed -e 's/x86_64/amd64/' -e 's/arm.*$/arm/') && + set KREWNAME krew-(uname | tr '[:upper:]' '[:lower:]')_(uname -m | sed -e 's/x86_64/amd64/' -e 's/arm.*$/arm/') && ./$KREWNAME install krew && set -e KREWNAME; set -e temp_dir end