diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:15:15 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:15:15 +0000 |
commit | eff7792da78754417d26e615f49e610d8c8ab999 (patch) | |
tree | f8384999c44ad99f378e701c98770dee83e0d298 /pdf-over-gui/src/main/resources/scripts | |
parent | 112424f023076335ea8ed02ad7e9c9e7edf89980 (diff) | |
download | pdf-over-eff7792da78754417d26e615f49e610d8c8ab999.tar.gz pdf-over-eff7792da78754417d26e615f49e610d8c8ab999.tar.bz2 pdf-over-eff7792da78754417d26e615f49e610d8c8ab999.zip |
Make mac script directory agnostic
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@223 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/resources/scripts')
-rw-r--r-- | pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh | 3 |
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 "$@") |