From 9eee8c1a72c43ce3287f00597dad39cd370fa20b Mon Sep 17 00:00:00 2001 From: Petro Protsakh Date: Tue, 14 Jan 2020 11:23:36 +0200 Subject: [PATCH] Fix args array concatenation --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7b7f340..eab53c9 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,7 +11,7 @@ mapfile -t lines < <(echo "$INPUT_TESTS" | grep -v "^$") e_code=0 for line in "${lines[@]}"; do read -r -a args <<< "$line" - cmd="/opa test ${args[*]} $INPUT_OPTIONS" + cmd="/opa test ${args[@]} $INPUT_OPTIONS" echo " 🚀 Running: $cmd" printf "\n" eval "$cmd" || e_code=1