summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-10-10 13:58:32 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-10-10 13:58:32 +0000
commit66ebe9d3cf72e89ed308d8100dda8dbb83da7628 (patch)
tree97234e0a8c37eda6bbbf31c27624fc43da1410b9 /pdf-over-gui/src
parenta604aeff6c0b3de01d4322a99d6681f76b46ddf5 (diff)
downloadpdf-over-66ebe9d3cf72e89ed308d8100dda8dbb83da7628.tar.gz
pdf-over-66ebe9d3cf72e89ed308d8100dda8dbb83da7628.tar.bz2
pdf-over-66ebe9d3cf72e89ed308d8100dda8dbb83da7628.zip
Change scripts to work from current dir
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@478 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src')
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdf-over_linux.sh2
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh2
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdf-over_win.bat6
-rw-r--r--pdf-over-gui/src/main/resources/scripts/uninstall_win.bat6
4 files changed, 7 insertions, 9 deletions
diff --git a/pdf-over-gui/src/main/resources/scripts/pdf-over_linux.sh b/pdf-over-gui/src/main/resources/scripts/pdf-over_linux.sh
index b9395340..8ee31f2a 100644
--- a/pdf-over-gui/src/main/resources/scripts/pdf-over_linux.sh
+++ b/pdf-over-gui/src/main/resources/scripts/pdf-over_linux.sh
@@ -1,3 +1,3 @@
#!/bin/sh
BASEDIR=`dirname $0`
-(cd "$BASEDIR/.." && exec java -cp "lib/*" at.asit.pdfover.gui.Main "$@")
+exec java -cp "$BASEDIR/../lib/*" at.asit.pdfover.gui.Main "$@"
diff --git a/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh b/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh
index 8ae4abb1..dcb805ae 100644
--- a/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh
+++ b/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh
@@ -1,4 +1,4 @@
#!/bin/sh
BASEDIR=$(cd "$(dirname "$0")"; pwd)
export LC_CTYPE="UTF-8"
-(cd "$BASEDIR/.." && exec java -XstartOnFirstThread -cp "lib/*" at.asit.pdfover.gui.Main "$@" &)
+exec java -XstartOnFirstThread -cp "$BASEDIR/../lib/*" at.asit.pdfover.gui.Main "$@" &
diff --git a/pdf-over-gui/src/main/resources/scripts/pdf-over_win.bat b/pdf-over-gui/src/main/resources/scripts/pdf-over_win.bat
index 5334d110..6468e582 100644
--- a/pdf-over-gui/src/main/resources/scripts/pdf-over_win.bat
+++ b/pdf-over-gui/src/main/resources/scripts/pdf-over_win.bat
@@ -1,4 +1,2 @@
-@echo off
-pushd %~dp0\..
-start /b javaw -jar lib\pdf-over-gui-4.0.1.jar %*
-popd
+@echo off
+start /b javaw -cp "%~dp0\..\lib\*" at.asit.pdfover.gui.Main %*
diff --git a/pdf-over-gui/src/main/resources/scripts/uninstall_win.bat b/pdf-over-gui/src/main/resources/scripts/uninstall_win.bat
index 4c01a10b..6377dd51 100644
--- a/pdf-over-gui/src/main/resources/scripts/uninstall_win.bat
+++ b/pdf-over-gui/src/main/resources/scripts/uninstall_win.bat
@@ -1,4 +1,4 @@
-@echo off
-pushd %~dp0\..
-start /b Uninstaller\uninstaller.jar
+@echo off
+pushd %~dp0\..
+start /b Uninstaller\uninstaller.jar
popd \ No newline at end of file