summaryrefslogtreecommitdiff
path: root/java/jode/files/patch-bin-jode
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2003-06-24 20:34:03 +0000
committerMikhail Teterin <mi@FreeBSD.org>2003-06-24 20:34:03 +0000
commit61c93d2ba20ece493bc383df526c212ed4b622d7 (patch)
tree190f3e82f5e710d7c9cb84f205d9ae0e3c5e082f /java/jode/files/patch-bin-jode
parentUpdate FreeBSD Update to version 1.3 (diff)
DE is a java package containing a decompiler and an optimizer for
java. Can be used from command line or through the Swing-based GUI.
Notes
Notes: svn path=/head/; revision=83547
Diffstat (limited to 'java/jode/files/patch-bin-jode')
-rw-r--r--java/jode/files/patch-bin-jode18
1 files changed, 18 insertions, 0 deletions
diff --git a/java/jode/files/patch-bin-jode b/java/jode/files/patch-bin-jode
new file mode 100644
index 000000000000..c77c812475d4
--- /dev/null
+++ b/java/jode/files/patch-bin-jode
@@ -0,0 +1,18 @@
+--- bin/jode.in Mon Oct 2 09:08:36 2000
++++ bin/jode.in Tue Jun 24 16:13:17 2003
+@@ -1,4 +1,3 @@
+ #!@SHELL@
+-prefix=@prefix@
+
+ case $1 in
+@@ -9,6 +8,7 @@
+ esac
+
++# This will only set CP if CLASSPATH is non-empty:
++CP=`echo $CLASSPATH | sed -e 's/:/,/g' -e 's/..*/--classpath &/'`
+
+-CP=`echo $CLASSPATH | sed s/:/,/`
+-CLASSPATH=@datadir@/jode-@VERSION@.jar:@CLASSPATH@ \
+-@JAVA@ $CLAZZ --classpath $CP $*
++exec javavm -cp @datadir@/jode-@VERSION@.jar:@datadir@/getopt.jar \
++ $CLAZZ $CP "$@"