summaryrefslogtreecommitdiff
path: root/test/end-to-end/execution-service/tree_inputs.sh
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2024-05-14 14:43:20 +0200
committerAlberto Sartori <alberto.sartori@huawei.com>2024-05-15 17:24:36 +0200
commit0f96e596f42ef8619f173c547d7ee6c1be3aba12 (patch)
treedc66dd6ed3310aa9e4f909f81e4ef4d34a4911a1 /test/end-to-end/execution-service/tree_inputs.sh
parentf976ed2ef08f835ff7d554a136d9af1131851802 (diff)
downloadjustbuild-0f96e596f42ef8619f173c547d7ee6c1be3aba12.tar.gz
test/end-to-end: properly handle multiple key-value pairs in the...
...REMOTE_EXECUTION_PROPERTIES env variable.
Diffstat (limited to 'test/end-to-end/execution-service/tree_inputs.sh')
-rwxr-xr-xtest/end-to-end/execution-service/tree_inputs.sh3
1 files changed, 2 insertions, 1 deletions
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"