From b83c8e9942a2175f920280c3fe97a8bf212b0ca4 Mon Sep 17 00:00:00 2001 From: ZhenLiu94 Date: Tue, 20 Oct 2020 16:31:46 +0800 Subject: [PATCH] build: fix error when building rook in centos7 if I don't delete arg 'z' in 'tar -zxvf', compile process while return compilation fails in centos7. Signed-off-by: ZhenLiu94 --- tests/scripts/helm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/helm.sh b/tests/scripts/helm.sh index 3a88c61e4..bd24bb8a4 100755 --- a/tests/scripts/helm.sh +++ b/tests/scripts/helm.sh @@ -36,7 +36,7 @@ install() { dist=$(echo "${dist}" | tr "[:upper:]" "[:lower:]") mkdir -p "${temp}" wget "https://storage.googleapis.com/kubernetes-helm/helm-v2.13.1-${dist}-${arch}.tar.gz" -O "${temp}/helm.tar.gz" - tar -C "${temp}" -zxvf "${temp}/helm.tar.gz" --strip-components 1 + tar -C "${temp}" -xvf "${temp}/helm.tar.gz" --strip-components 1 # The following lines are workaround of a CI failure caused by the old-Jenkins-file-is-used-in-CI problem. # These lines will be removed as soom as PR5991 is merged.. mkdir "${temp}/${dist}-${arch}"