yolks/java/test.sh

9 lines
220 B
Bash
Raw Normal View History

#!/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"