adonis0147 commented on code in PR #16175:
URL: https://github.com/apache/doris/pull/16175#discussion_r1089855257
##########
docker/thirdparties/run-thirdparties-docker.sh:
##########
@@ -117,7 +117,10 @@ echo "Components are: ${COMPONENTS}"
echo "Container UID: ${CONTAINER_UID}"
echo "Stop: ${STOP}"
-COMPONENTS_ARR=(${COMPONENTS//,/ })
+OLD_IFS="${IFS}"
+IFS=','
+read -r -a COMPONENTS_ARR <<<"${COMPONENTS}"
+IFS="${OLD_IFS}"
Review Comment:
```suggestion
IFS=',' read -r -a COMPONENTS_ARR <<<"${COMPONENTS}"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]