From eff7792da78754417d26e615f49e610d8c8ab999 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:15:15 +0000 Subject: Make mac script directory agnostic git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@223 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pdf-over-gui/src') 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 "$@") -- cgit v1.2.3