summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:27:31 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:27:31 +0000
commitc3c000f9bf8dabef9ad193cfe94eff3e504483bb (patch)
tree40825d8546c3063f4a7654472b475d2f8cdd9db5 /pdf-over-gui
parent4cfc5e0e74b365af259033771b85da729d5300ae (diff)
downloadmocca-c3c000f9bf8dabef9ad193cfe94eff3e504483bb.tar.gz
mocca-c3c000f9bf8dabef9ad193cfe94eff3e504483bb.tar.bz2
mocca-c3c000f9bf8dabef9ad193cfe94eff3e504483bb.zip
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
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh2
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh2
2 files changed, 2 insertions, 2 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 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 "$@" &)