From 0f96e596f42ef8619f173c547d7ee6c1be3aba12 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Tue, 14 May 2024 14:43:20 +0200 Subject: test/end-to-end: properly handle multiple key-value pairs in the... ...REMOTE_EXECUTION_PROPERTIES env variable. --- test/end-to-end/execution-service/tree_inputs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/end-to-end/execution-service/tree_inputs.sh') diff --git a/test/end-to-end/execution-service/tree_inputs.sh b/test/end-to-end/execution-service/tree_inputs.sh index f6491f50..f8780bfb 100755 --- a/test/end-to-end/execution-service/tree_inputs.sh +++ b/test/end-to-end/execution-service/tree_inputs.sh @@ -40,7 +40,8 @@ EOF REMOTE_EXECUTION_ARGS="-r ${REMOTE_EXECUTION_ADDRESS}" if [ "${REMOTE_EXECUTION_PROPERTIES:-}" != "" ]; then - REMOTE_EXECUTION_ARGS="${REMOTE_EXECUTION_ARGS} --remote-execution-property ${REMOTE_EXECUTION_PROPERTIES}" + REMOTE_EXECUTION_PROPS="$(printf " --remote-execution-property %s" ${REMOTE_EXECUTION_PROPERTIES})" + REMOTE_EXECUTION_ARGS="${REMOTE_EXECUTION_ARGS} ${REMOTE_EXECUTION_PROPS}" fi if [ -n "${COMPATIBLE:-}" ]; then REMOTE_EXECUTION_ARGS="${REMOTE_EXECUTION_ARGS} --compatible" -- cgit v1.2.3