summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/resources')
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh b/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh
index a6931703..a3f0e8da 100644
--- a/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh
+++ b/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh
@@ -1,2 +1,3 @@
#!/bin/sh
-java -XstartOnFirstThread -cp "lib/*" at.asit.pdfover.gui.Main \ No newline at end of file
+BASEDIR=`dirname $0`
+(cd $BASEDIR/.. && exec java -XstartOnFirstThread -cp "lib/*" at.asit.pdfover.gui.Main "$@")