Improve the startup commands and unbreak their execution
This commit is contained in:
8
java/test.sh
Normal file
8
java/test.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
STARTUP="./foo.sh -env {{HOME}}"
|
||||
|
||||
PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat -)")
|
||||
|
||||
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m%s\n" "$PARSED"
|
||||
exec env "$PARSED"
|
Reference in New Issue
Block a user