Change echo "${STARTUP}"
to echo -e ${STARTUP}
All other `entrypoint.sh` files use this change, so just making the incorrect ones match the rest It also caused issues with complex startup commands that utilize if statements and such, so hopefully this fixes those issues
This commit is contained in:
@@ -40,7 +40,7 @@ java -version
|
||||
# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
|
||||
# variable format of "${VARIABLE}" before evaluating the string and automatically
|
||||
# replacing the values.
|
||||
PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat -)")
|
||||
PARSED=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat -)")
|
||||
|
||||
# Display the command we're running in the output, and then execute it with the env
|
||||
# from the container itself.
|
||||
|
Reference in New Issue
Block a user