[java-wrappers] 16/61: [java-wrappers] Fix various long-standing syntax errors

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Oct 24 17:55:18 UTC 2017


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 1943f586e979d705a95ca010bdb34cf8d302f949
Author: Vincent Fourmond <fourmond at debian.org>
Date:   Mon Sep 15 22:07:50 2008 +0000

    [java-wrappers] Fix various long-standing syntax errors
---
 debian/changelog | 8 ++++++++
 java-wrappers.sh | 7 ++++---
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 61d89d4..041469a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+java-wrappers (0.1.8) experimental; urgency=low
+
+  * The 'oops, I missed a syntax error release' - fix a missing 
+    fi in java-wrappers.sh
+  * Fixed a few other syntax errors
+
+ -- Vincent Fourmond <fourmond at debian.org>  Tue, 16 Sep 2008 00:04:37 +0200
+
 java-wrappers (0.1.7) experimental; urgency=low
 
   * Rewrite of find_java_runtime in a much more flexible fashion... 
diff --git a/java-wrappers.sh b/java-wrappers.sh
index b3c6266..27067a6 100644
--- a/java-wrappers.sh
+++ b/java-wrappers.sh
@@ -90,14 +90,15 @@ find_java_runtime() {
 	while test "$1"
 	do 
 	    found_jvm=$(eval "echo -n \$__jvm_$1")
-	    if [ test -z "$found_jvm" ]; then
+	    if [ -z "$found_jvm" ]; then
 		java_warning "JVM flavor '${1:-none}' not understood"
 	    else
 		DIRS="$DIRS $found_jvm"
-	    shift
+		shift
+	    fi
 	done
 	# Nothing means everything
-	if test -z "$DIRS"; then
+	if [ -z "$DIRS" ]; then
 	    DIRS=$all_runtimes
 	fi
         # And pick up the first one that works reasonably

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



More information about the pkg-java-commits mailing list