summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/pdf-over-gui/src')
-rw-r--r--trunk/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh3
1 files changed, 2 insertions, 1 deletions
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 "$@")