summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:12:51 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:12:51 +0000
commit8b4b56ae617451174787d9e9f713b6b5264b7315 (patch)
tree2485c86d2d5aa6d785cd4ed3ce9bc3e000c8f4b8
parent2324bf28946d13abe472720a053be2f8a67fbab8 (diff)
downloadmocca-8b4b56ae617451174787d9e9f713b6b5264b7315.tar.gz
mocca-8b4b56ae617451174787d9e9f713b6b5264b7315.tar.bz2
mocca-8b4b56ae617451174787d9e9f713b6b5264b7315.zip
Fixed linux start script
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@198 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh b/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh
index b785db7c..30705e86 100644
--- a/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh
+++ b/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh
@@ -1,2 +1,3 @@
#!/bin/sh
-java -cp "lib/*" at.asit.pdfover.gui.Main \ No newline at end of file
+BASEDIR=`dirname $0`
+(cd $BASEDIR/.. && exec java -cp "lib/*" at.asit.pdfover.gui.Main "$@")