Hello,

I download a nightbuild and I have a problem with the 'openjump.sh' file.
I have done a small patch for solves a bug when you try to start OpenJUMP
from a symbolic link.

br,
Nacho
--- bin/openjump.sh	2008-08-19 03:10:16.000000000 +0200
+++ /tmp/bin/openjump.sh	2008-09-24 13:15:25.000000000 +0200
@@ -8,7 +8,13 @@
 else
   JAVA=$JAVA_HOME/bin/java
 fi
-JUMP_HOME=`dirname $0`/..
+
+if(test -L $0) then
+    auxlink=`ls -l $0 | sed 's/^[^>]*-> //g'`
+    JUMP_HOME=`dirname $auxlink`/..
+else 
+    JUMP_HOME=`dirname $0`/..
+fi
 JUMP_PROPERTIES=~/.jump/workbench-properties.xml
 JUMP_DEFAULTP=~/.jump/default-plugins.xml
 JUMP_STATE=~/.jump/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to