[java-wrappers] 43/61: [java-wrappers] do not implicitly include . in classpath

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Oct 24 17:55:21 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 5a79d5edb1e853446e6de180bd7e36169e22c772
Author: Vincent Fourmond <fourmond at debian.org>
Date:   Sun Mar 18 19:18:25 2012 +0000

    [java-wrappers] do not implicitly include . in classpath
---
 debian/changelog | 6 ++++++
 java-wrappers.sh | 6 +++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f520d10..c1541df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+java-wrappers (0.1.25) unstable; urgency=low
+
+  * Do not implicitly include . in classpaths (closes: #664515)
+
+ -- Vincent Fourmond <fourmond at debian.org>  Sun, 18 Mar 2012 20:12:13 +0100
+
 java-wrappers (0.1.24) unstable; urgency=low
 
   * Drop the use of dpkg-architecture in favor of dpkg (closes: #641499)
diff --git a/java-wrappers.sh b/java-wrappers.sh
index a59f8bb..c3636df 100644
--- a/java-wrappers.sh
+++ b/java-wrappers.sh
@@ -212,7 +212,11 @@ find_jars() {
     looked_for_jars=1
     for jar in $@ ; do
 	if locate_jar $jar; then
-	    JAVA_CLASSPATH=$JAVA_CLASSPATH:$found_jar
+            if [ -z "$JAVA_CLASSPATH" ]; then
+	        JAVA_CLASSPATH=$found_jar
+            else
+	        JAVA_CLASSPATH=$JAVA_CLASSPATH:$found_jar
+            fi
 	else
 	    java_warning "Unable to locate $jar in $JAVA_JARPATH"
 	fi

-- 
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