summaryrefslogtreecommitdiff
path: root/devel/astah-community/files/patch-astah-command.sh
diff options
context:
space:
mode:
Diffstat (limited to 'devel/astah-community/files/patch-astah-command.sh')
-rw-r--r--devel/astah-community/files/patch-astah-command.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/astah-community/files/patch-astah-command.sh b/devel/astah-community/files/patch-astah-command.sh
index 3b19cf0b2da2..ceee7e423459 100644
--- a/devel/astah-community/files/patch-astah-command.sh
+++ b/devel/astah-community/files/patch-astah-command.sh
@@ -1,16 +1,17 @@
---- astah-command.sh.orig 2012-03-19 00:16:44.000000000 +0900
-+++ astah-command.sh 2012-03-25 21:36:30.000000000 +0900
-@@ -22,11 +22,11 @@
+--- astah-command.sh.orig 2013-03-08 06:02:20.000000000 +0900
++++ astah-command.sh 2013-03-15 10:50:23.000000000 +0900
+@@ -22,7 +22,7 @@
#export PATH=$PATH:$JAVA_HOME/bin
#ASTAH_HOME=/usr/lib/astah_community
--ASTAH_HOME=`pwd`
+-ASTAH_HOME=`dirname "$0"`
+ASTAH_HOME=%%DATADIR%%
INITIAL_HEAP_SIZE=64m
MAXIMUM_HEAP_SIZE=1024m
-
+@@ -30,4 +30,4 @@
JAVA_OPTS="-Xms$INITIAL_HEAP_SIZE -Xmx$MAXIMUM_HEAP_SIZE"
+ #JAVA_OPTS="\$JAVA_OPTS -DrootLevel=DEBUG"
-java $JAVA_OPTS -cp "$ASTAH_HOME/astah-community.jar" com.change_vision.jude.cmdline.JudeCommandRunner "$@"
+%%JAVA_HOME%%/bin/java $JAVA_OPTS -cp "$ASTAH_HOME/astah-community.jar" com.change_vision.jude.cmdline.JudeCommandRunner "$@"