georgew5656 commented on code in PR #15919:
URL: https://github.com/apache/druid/pull/15919#discussion_r1495897826
##########
distribution/docker/druid.sh:
##########
@@ -148,7 +148,7 @@ env | grep ^druid_ | while read evar;
do
# Can't use IFS='=' to parse since var might have = in it (e.g. password)
val=$(echo "$evar" | sed -e 's?[^=]*=??')
- var=$(echo "$evar" | sed -e 's?^\([^=]*\)=.*?\1?g' -e 's?_?.?g')
+ var=$(echo "$evar" | sed -e 's?^\([^=]*\)=.*?\1?g' -e 's?__?$UNDERSCORE?g'
-e 's?_?.?g' -e 's?$UNDERSCORE?_?g')
Review Comment:
its a placeholder to handle the escape char
--
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]