From 3bb9d37863082b00e9ea74993ac165624f7d965f Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Tue, 14 Jun 2022 09:46:55 +0800 Subject: [PATCH] ci: fix bash shell array incompatibility in dash --- tools/ci/utils.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/ci/utils.sh b/tools/ci/utils.sh index f7cb597781..b7d8249f61 100644 --- a/tools/ci/utils.sh +++ b/tools/ci/utils.sh @@ -62,8 +62,7 @@ function warning() { } function run_cmd() { - local args=( "$@" ) - local cmd="${args[@]}" + local cmd="$*" local start=$(date +%s) info "\$ ${cmd}"