From c3c000f9bf8dabef9ad193cfe94eff3e504483bb Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:27:31 +0000 Subject: fix scripts for spaces in path name git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@333 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh | 2 +- pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf-over-gui/src/main') 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 30705e86..b9395340 100644 --- a/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh +++ b/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh @@ -1,3 +1,3 @@ #!/bin/sh BASEDIR=`dirname $0` -(cd $BASEDIR/.. && exec java -cp "lib/*" at.asit.pdfover.gui.Main "$@") +(cd "$BASEDIR/.." && exec java -cp "lib/*" at.asit.pdfover.gui.Main "$@") 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 5b3a11e4..e4cd4722 100644 --- a/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh +++ b/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh @@ -1,4 +1,4 @@ #!/bin/sh BASEDIR=$(cd "$(dirname "$0")"; pwd) export LC_CTYPE="UTF-8" -(cd $BASEDIR/PDF-Over && exec java -XstartOnFirstThread -cp "lib/*" at.asit.pdfover.gui.Main "$@" &) +(cd "$BASEDIR/PDF-Over" && exec java -XstartOnFirstThread -cp "lib/*" at.asit.pdfover.gui.Main "$@" &) -- cgit v1.2.3