From f8356f3ef711926aa517a5942907a73a4263c723 Mon Sep 17 00:00:00 2001 From: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com> Date: Wed, 22 Apr 2020 13:22:08 -0500 Subject: [PATCH] silence errors about missing commands Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com> --- scripts/get-helm-3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/get-helm-3 b/scripts/get-helm-3 index fa98792fd..4c7d4f56b 100755 --- a/scripts/get-helm-3 +++ b/scripts/get-helm-3 @@ -24,10 +24,10 @@ : ${VERIFY_SIGNATURES:="false"} : ${HELM_INSTALL_DIR:="/usr/local/bin"} -HAS_CURL="$(type "curl" > /dev/null && echo true || echo false)" -HAS_WGET="$(type "wget" > /dev/null && echo true || echo false)" -HAS_OPENSSL="$(type "openssl" > /dev/null && echo true || echo false)" -HAS_GPG="$(type "gpg" > /dev/null && echo true || echo false)" +HAS_CURL="$(type "curl" &> /dev/null && echo true || echo false)" +HAS_WGET="$(type "wget" &> /dev/null && echo true || echo false)" +HAS_OPENSSL="$(type "openssl" &> /dev/null && echo true || echo false)" +HAS_GPG="$(type "gpg" &> /dev/null && echo true || echo false)" # initArch discovers the architecture for this system. initArch() {