From a55fa786cfe78ede4ce3166a3d8c5df9e9228878 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 31 Oct 2012 16:37:08 +0000 Subject: Fixed linux start script git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12784 3a0b52a2-8410-0410-bc02-ff6273a87459 --- trunk/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh b/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh index b785db7c..30705e86 100644 --- a/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh +++ b/trunk/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