This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository java-wrappers.

commit 8883788dd2a5584eb7ec2d5ce755367a4af0a80d
Author: Vincent Fourmond <fourm...@debian.org>
Date:   Tue Feb 26 23:40:17 2008 +0000

    [java-wrappers] Fix several small typos/bugs
---
 debian/changelog | 8 ++++++++
 java-wrappers.7  | 8 ++++----
 java-wrappers.sh | 6 +++---
 3 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6ec3d68..8ac4729 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+java-wrappers (0.1.3) unstable; urgency=low
+
+  * Small documentation fixes
+  * Fix small typos in java-wrappers.sh
+  * Fix a problem with JAVA_BINDIR
+
+ -- Vincent Fourmond <fourm...@debian.org>  Wed, 27 Feb 2008 00:38:23 +0100
+
 java-wrappers (0.1.2) unstable; urgency=low
 
   * Adding link for the LGPL in debian/copyright
diff --git a/java-wrappers.7 b/java-wrappers.7
index 28c48ad..cfdcf6d 100644
--- a/java-wrappers.7
+++ b/java-wrappers.7
@@ -142,9 +142,9 @@ information from the wrapper:
 .SH BUGS
 
 Care has been taken to make the wrappers bug-free. If that was not
-the case, please file a bug report against
-.B java-common
-with a java-wrappers in the title.
+the case, please file a bug report against the
+.B java-wrappers
+package.
 
 If you wish to submit any problem with a java executable relying on
 .BR java-wrappers ,
@@ -158,7 +158,7 @@ time it will take to fix the bug.
 .BR java (1),
 .BR jdb (1)
 
-.I /usr/lib/java/wrappers.sh
+.I /usr/lib/java-wrappers/java-wrappers.sh
 
 .SH AUTHOR
 
diff --git a/java-wrappers.sh b/java-wrappers.sh
index 01c3199..ed6554f 100644
--- a/java-wrappers.sh
+++ b/java-wrappers.sh
@@ -109,7 +109,7 @@ find_java_runtime() {
        fi
     fi
 
-    if [ -z "$JAVA_BINDIR" ]; then 
+    if [ "$JAVA_BINDIR" ]; then 
        if [ "$JAVA_DEBUGGER" ] && [ -x "$JAVA_BINDIR/jdb" ]; then
            JAVA_CMD="$JAVA_BINDIR/jdb"
        elif [ -x "$JAVA_BINDIR/java" ]; then
@@ -217,7 +217,7 @@ find_jars() {
 find_one_jar_in() {
     looked_for_jars=1
     for jar in $@ ; do
-       if locate_jar $jar; do 
+       if locate_jar $jar; then 
            JAVA_CLASSPATH=$JAVA_CLASSPATH:$found_jar
            return 0
        fi
@@ -258,7 +258,7 @@ run_java() {
 # You don't have to use this function to run a jar, but you might find
 # it useful, though.
 run_jar() {
-    if [ "$looked_for_jars" ]; 
+    if [ "$looked_for_jars" ]; then 
        java_warning "It is most likely useless to use find_jar when running"
        java_warning "a class with run_jar (-classpath is ignored)"
     fi

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/java-wrappers.git

_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to