aboutsummaryrefslogtreecommitdiff
path: root/java/jode/files/patch-bin-jode
diff options
context:
space:
mode:
Diffstat (limited to 'java/jode/files/patch-bin-jode')
-rw-r--r--java/jode/files/patch-bin-jode5
1 files changed, 2 insertions, 3 deletions
diff --git a/java/jode/files/patch-bin-jode b/java/jode/files/patch-bin-jode
index a5e07eca4f32..4f5f689cf777 100644
--- a/java/jode/files/patch-bin-jode
+++ b/java/jode/files/patch-bin-jode
@@ -5,7 +5,7 @@
-prefix=@prefix@
case $1 in
-@@ -9,6 +8,7 @@
+@@ -9,6 +8,6 @@
esac
+# This will only set CP if CLASSPATH is non-empty:
@@ -14,5 +14,4 @@
-CP=`echo $CLASSPATH | sed s/:/,/`
-CLASSPATH=@datadir@/jode-@VERSION@.jar:@CLASSPATH@ \
-@JAVA@ $CLAZZ --classpath $CP $*
-+JAVA_VERSION="%%JAVA_VERSION%%" exec @prefix@/bin/java -cp @datadir@/jode-@VERSION@.jar:@datadir@/getopt.jar \
-+ $CLAZZ $CP "$@"
++exec @prefix@/bin/java -cp @datadir@/jode-@VERSION@.jar:@datadir@/getopt.jar $CLAZZ $CP "$@"