summaryrefslogtreecommitdiffstats
path: root/net/freenet/files/wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/freenet/files/wrapper.sh')
-rw-r--r--net/freenet/files/wrapper.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/freenet/files/wrapper.sh b/net/freenet/files/wrapper.sh
index a7c9b0d..e03358a 100644
--- a/net/freenet/files/wrapper.sh
+++ b/net/freenet/files/wrapper.sh
@@ -5,7 +5,7 @@
PREFIX="%%PREFIX%%"
# java
-JAVAVM="%%JAVAVM%%"
+JAVAVM_CALL="%%JAVAVM%%"
JAR_DIR="%%JAR_DIR%%"
JAR_FILES="%%JAR_FILES%%"
JAR_START="%%JAR_START%%"
@@ -19,7 +19,7 @@ CONFIG_FILE=freenet.conf
configure_freenet () {
echo "Configuring FreeNet node"
cd ${HOME_DIR} &&
- ${JAVAVM} -jar ./${JAR_START} freenet.node.Main --config "${@}"
+ ${JAVAVM_CALL} -jar ./${JAR_START} freenet.node.Main --config "${@}"
}
configure_java_classpath () {
@@ -91,7 +91,7 @@ prepare_home_dir () {
start_freenet () {
echo "Starting FreeNet node"
cd ${HOME_DIR} &&
- nice -10 ${JAVAVM} -jar ./${JAR_START} "${@}" &
+ nice -10 ${JAVAVM_CALL} -jar ./${JAR_START} "${@}" &
echo $! > ${HOME_DIR}/freenet.pid
exit 0
}
OpenPOWER on IntegriCloud