Merge pull request #292 from srnyx/patch-1
Apply #262 to Python entrypoint
This commit is contained in:
@@ -34,7 +34,7 @@ export INTERNAL_IP
|
||||
cd /home/container || exit 1
|
||||
|
||||
# Print Java version
|
||||
printf "\033[1m\033[33mcontainer@pelican~ \033[0mjava -version\n"
|
||||
printf "\033[1m\033[33mcontainer~ \033[0mjava -version\n"
|
||||
java -version
|
||||
|
||||
# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
|
||||
@@ -43,7 +43,7 @@ java -version
|
||||
PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
||||
|
||||
# Display the command we're running in the output, and then execute it with eval
|
||||
printf "\033[1m\033[33mcontainer@pelican~ \033[0m"
|
||||
printf "\033[1m\033[33mcontainer~ \033[0m"
|
||||
echo "$PARSED"
|
||||
# shellcheck disable=SC2086
|
||||
eval "$PARSED"
|
||||
|
Reference in New Issue
Block a user