diff options
Diffstat (limited to 'trunk/pdf-over-gui/src/main/resources/scripts')
-rw-r--r-- | trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh b/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh index a3f0e8da..c7be27d4 100644 --- a/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh +++ b/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh @@ -1,3 +1,3 @@ #!/bin/sh -BASEDIR=`dirname $0` -(cd $BASEDIR/.. && exec java -XstartOnFirstThread -cp "lib/*" at.asit.pdfover.gui.Main "$@") +BASEDIR=$(cd "$(dirname "$0")"; pwd) +(cd $BASEDIR/PDFOver/Contents && exec java -XstartOnFirstThread -cp "lib/*" at.asit.pdfover.gui.Main "$@") |