slackbuilds/office/ProjectLibre/projectlibre-path.patch

13 lines
490 B
Diff

diff -Nur projectlibre-1.5.6.orig/projectlibre.sh projectlibre-1.5.6/projectlibre.sh
--- projectlibre-1.5.6.orig/projectlibre.sh 2013-06-28 18:27:31.000000000 -0500
+++ projectlibre-1.5.6/projectlibre.sh 2013-07-13 00:47:40.964375049 -0500
@@ -64,7 +64,7 @@
JAVA_EXE="java"
JAVA_OPTS="-Xms128m -Xmx768m"
#OPENPROJ_HOME0="/usr/share/projectlibre"
-OPENPROJ_HOME0=`(dirname $0)`
+OPENPROJ_HOME0="/opt/ProjectLibre"
OPENPROJ_HOME="$OPENPROJ_HOME0"
LOG_LEVEL="DEBUG"
LOG_FILE="/dev/null"