diff options
Diffstat (limited to 'net/frost/files/wrapper.sh')
-rw-r--r-- | net/frost/files/wrapper.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/frost/files/wrapper.sh b/net/frost/files/wrapper.sh new file mode 100644 index 000000000000..e4dd1b7628d1 --- /dev/null +++ b/net/frost/files/wrapper.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +PREFIX="%%PREFIX%%" +JAVAVM="%%JAVAVM%%" +JAR_DIR="%%JAR_DIR%%" +JAR_FILE="%%JAR_FILE%%" +HOME_DIR=${HOME}/.frost + +if [ ! -d ${HOME_DIR} ] +then + mkdir -p ${HOME_DIR} +fi + +cd ${HOME_DIR} && + exec ${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} "${@}" |