diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-07 20:42:02 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-07 20:42:02 +0100 |
commit | 5363713f1940731c9d9432bb603b282bdc16b924 (patch) | |
tree | 9235a9cf4be103372c63bce49b26b5228ab10ba7 /trunk/pdf-over-gui/src/main/resources | |
parent | 4f5f87c144c0a230bd9387f68b17234281ad76ac (diff) | |
download | pdf-over-5363713f1940731c9d9432bb603b282bdc16b924.tar.gz pdf-over-5363713f1940731c9d9432bb603b282bdc16b924.tar.bz2 pdf-over-5363713f1940731c9d9432bb603b282bdc16b924.zip |
Make mac script directory agnostic
Diffstat (limited to 'trunk/pdf-over-gui/src/main/resources')
-rw-r--r-- | trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh | 3 |
1 files changed, 2 insertions, 1 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 a6931703..a3f0e8da 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,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 "$@") |