From 8b4b56ae617451174787d9e9f713b6b5264b7315 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:12:51 +0000 Subject: Fixed linux start script git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@198 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pdf-over-gui/src/main/resources/scripts') diff --git a/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh b/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh index b785db7c..30705e86 100644 --- a/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh +++ b/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh @@ -1,2 +1,3 @@ #!/bin/sh -java -cp "lib/*" at.asit.pdfover.gui.Main \ No newline at end of file +BASEDIR=`dirname $0` +(cd $BASEDIR/.. && exec java -cp "lib/*" at.asit.pdfover.gui.Main "$@") -- cgit v1.2.3