From f1eb28a5ebce5910a0b18598ea8cbe2434a31564 Mon Sep 17 00:00:00 2001 From: Rail Aliiev Date: Wed, 17 Apr 2024 16:27:28 -0400 Subject: [PATCH] docker: pass `COCKROACH_ARGS` without quoting Previously, the `COCKROACH_ARGS` variable was passed quoted, what converted it into a single string. If the variable is set to something more than one word, the whole string is passed as a single argument. This PR removes the surrounding quotes to let field splitting convert the string into multiple arguments. Fixes: #122441 Release note: None --- build/deploy/cockroach.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/deploy/cockroach.sh b/build/deploy/cockroach.sh index 17ae9b4cceef..ac3380329a84 100755 --- a/build/deploy/cockroach.sh +++ b/build/deploy/cockroach.sh @@ -298,7 +298,7 @@ _main() { set_env_var "COCKROACH_ARGS" if [[ -n "$COCKROACH_ARGS" ]]; then - _main "$COCKROACH_ARGS" + _main $COCKROACH_ARGS else _main "$@" fi