Improve the startup commands and unbreak their execution

This commit is contained in:
Dane Everitt
2021-05-29 10:19:11 -07:00
parent e4e52642d2
commit 0248368c01
7 changed files with 56 additions and 37 deletions

8
java/test.sh Normal file
View 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"