[pkg-java] r15865 - in trunk/java-wrappers: . debian

Vincent Fourmond fourmond at alioth.debian.org
Sun Mar 18 19:18:25 UTC 2012


Author: fourmond
Date: 2012-03-18 19:18:25 +0000 (Sun, 18 Mar 2012)
New Revision: 15865

Modified:
   trunk/java-wrappers/debian/changelog
   trunk/java-wrappers/java-wrappers.sh
Log:
[java-wrappers] do not implicitly include . in classpath

Modified: trunk/java-wrappers/debian/changelog
===================================================================
--- trunk/java-wrappers/debian/changelog	2012-03-18 17:33:11 UTC (rev 15864)
+++ trunk/java-wrappers/debian/changelog	2012-03-18 19:18:25 UTC (rev 15865)
@@ -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)

Modified: trunk/java-wrappers/java-wrappers.sh
===================================================================
--- trunk/java-wrappers/java-wrappers.sh	2012-03-18 17:33:11 UTC (rev 15864)
+++ trunk/java-wrappers/java-wrappers.sh	2012-03-18 19:18:25 UTC (rev 15865)
@@ -212,7 +212,11 @@
     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




More information about the pkg-java-commits mailing list