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/remote-execution/native-protocol.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/end-to-end/remote-execution/native-protocol.sh') diff --git a/test/end-to-end/remote-execution/native-protocol.sh b/test/end-to-end/remote-execution/native-protocol.sh index 0737b9ff..00e1dd91 100644 --- a/test/end-to-end/remote-execution/native-protocol.sh +++ b/test/end-to-end/remote-execution/native-protocol.sh @@ -88,7 +88,8 @@ test ${TREE_ID} ${EQUAL} ${GIT_TREE_ID} 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 echo -- cgit v1.2.3