aboutsummaryrefslogtreecommitdiff
path: root/deskutils/ganttproject/files/ganttproject.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/ganttproject/files/ganttproject.sh.in')
-rw-r--r--deskutils/ganttproject/files/ganttproject.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/deskutils/ganttproject/files/ganttproject.sh.in b/deskutils/ganttproject/files/ganttproject.sh.in
index a139bb4a53bd..d305058df70b 100644
--- a/deskutils/ganttproject/files/ganttproject.sh.in
+++ b/deskutils/ganttproject/files/ganttproject.sh.in
@@ -3,7 +3,9 @@
# $FreeBSD$
LOCAL_CLASSPATH="%%DATADIR%%/eclipsito.jar"
-CONFIGURATION_FILE="%%DATADIR%%/ganttproject-eclipsito-config.xml"
+CONFIGURATION_FILE="ganttproject-eclipsito-config.xml"
+
+cd %%DATADIR%%
JAVA_VERSION="%%JAVA_VERSION%%" \
exec "%%LOCALBASE%%/bin/java" \