ci: fix bash shell array incompatibility in dash

This commit is contained in:
Fu Hanxi 2022-06-14 09:46:55 +08:00
parent c26bfae1fd
commit 3bb9d37863

View File

@ -62,8 +62,7 @@ function warning() {
} }
function run_cmd() { function run_cmd() {
local args=( "$@" ) local cmd="$*"
local cmd="${args[@]}"
local start=$(date +%s) local start=$(date +%s)
info "\$ ${cmd}" info "\$ ${cmd}"