From 579bebda1ae8ed41e07a94c106d540e2e6e24e21 Mon Sep 17 00:00:00 2001 From: Ilya Zuyev Date: Thu, 8 Jul 2021 15:00:13 -0700 Subject: [PATCH] fix script --- hack/jenkins/installers/check_install_golang.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/jenkins/installers/check_install_golang.sh b/hack/jenkins/installers/check_install_golang.sh index c927766ad0de..4ee97d5b1c24 100755 --- a/hack/jenkins/installers/check_install_golang.sh +++ b/hack/jenkins/installers/check_install_golang.sh @@ -82,8 +82,8 @@ function install_golang() { # using sudo because previously installed versions might have been installed by a different user. # as it was the case on jenkins VM. sudo rm -rf "$GO_TGZ" - curl -qL -O "https://storage.googleapis.com/golang/$GO_TGZ" && - sudo rm -rf "$GO_DIR" && + curl -qL -O "https://storage.googleapis.com/golang/$GO_TGZ" + sudo rm -rf "$GO_DIR" sudo mkdir -p "$GO_DIR" sudo tar -C "$GO_DIR" --strip-components=1 -xzf "$GO_TGZ"